Notification

This article is about Looker Studio. For Looker documentation, visit https://cloud.google.com/looker/docs/intro.

Trang bạn đã yêu cầu hiện không có sẵn bằng ngôn ngữ của bạn. Bạn có thể chọn ngôn ngữ khác ở cuối trang hoặc dịch nhanh mọi trang web sang ngôn ngữ mà bạn chọn bằng cách sử dụng tính năng dịch được tích hợp sẵn trong Google Chrome.

CURRENT_DATE

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

Sample usage

CURRENT_DATE()
 
CURRENT_DATE("America/Los_Angeles")

Syntax

CURRENT_DATE([time_zone])

Parameters

  • time_zone - Optional. A text field or expression representing the timezone. This parameter is a string 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
CURRENT_DATE() January 10, 2020 10:38 AM 2020-1-10

Notes

This function is not available for compatibility mode date types.

Related resources

Thông tin này có hữu ích không?

Chúng tôi có thể cải thiện trang này bằng cách nào?
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
13604742320444329150
true
Tìm kiếm trong Trung tâm trợ giúp
true
true
true
true
true
102097
false
false