Notification

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

В настоящее время эта страница недоступна на русском языке. Выберите другой язык в нижней части экрана или воспользуйтесь функцией автоматического перевода Google Chrome.

CURRENT_DATETIME

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

Sample usage

CURRENT_DATETIME()
 
CURRENT_DATETIME("America/Los_Angeles")")

Syntax

CURRENT_DATETIME([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 & Time

Examples

Example formula Input Output
CURRENT_DATETIME() January 10, 2020 10:38 AM 2020-1-10 10:38:47

Notes

This function is not available for compatibility mode date types.

Related resources

Эта информация оказалась полезной?

Как можно улучшить эту статью?
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
6961642518845335139
true
Поиск по Справочному центру
true
true
true
true
true
102097
false
false