Notification

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

Požadovaná stránka aktuálně není k dispozici ve vašem jazyce. V dolní části stránky však můžete vybrat jiný jazyk, případně pomocí funkce překladu integrované v prohlížeči Google Chrome jakoukoli stránku okamžitě přeložit do vybraného jazyka.

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

Pomohly vám tyto informace?

Jak bychom článek mohli vylepš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
1224291283670926308
true
Prohledat Centrum nápovědy
true
true
true
true
true
102097
false
false