Notification

This article has moved. Please visit cloud.google.com/looker/docs/studio/ for the most up-to-date content. Learn more about the migration.

您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

TODAY

Returns the current date as of the specified or default timezone.

Sample usage

TODAY()
 
TODAY("America/Los_Angeles")
 
TODAY("-08")

Syntax

TODAY([time_zone])

Parameters

  • time_zone - Optional. A text field or expression representing the timezone to use. If no timezone is specified, the default timezone UTC is used. See Timezone definitions for information on how to specify a time zone.

    If the time_zone parameter evaluates to NULL, this function returns NULL.

Return data type

Date

Examples

Example formula Input Output
TODAY() January 10, 2020 2020-1-10

Notes

TODAY is a synonym for CURRENT_DATE.

Related resources

Was this helpful?

How can we improve it?
true
What's new in Looker Studio?

Learn about new features and recent changes. Looker Studio release notes live on Google Cloud.

Search
Clear search
Close search
Main menu
8277719453535825822
true
Search Help Center
true
true
true
true
true
102097
false
false