mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
16 lines
490 B
Plaintext
16 lines
490 B
Plaintext
{
|
|
"name": "get_timezone",
|
|
"type": "function",
|
|
"groups": ["Conversions", "Date and Time"],
|
|
"description": "Returns the timezone object associated with a datetime value.",
|
|
"arguments": [{
|
|
"arg": "datetime",
|
|
"description": "datetime with timezone"
|
|
}],
|
|
"examples": [{
|
|
"expression": "timezone_id(get_timezone(\"DATE_FIELD\"))",
|
|
"returns": "ID of timezone associated with the DATE_FIELD value"
|
|
}],
|
|
"tags": ["time", "zone", "date", "datetime", "offset", "utc"]
|
|
}
|