mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
These functions allow creating a timezone from a IANA time zone database ID, or extracting the IANA ID from a timezone object respectively.
16 lines
495 B
Plaintext
16 lines
495 B
Plaintext
{
|
|
"name": "timezone_id",
|
|
"type": "function",
|
|
"groups": ["Conversions", "Date and Time"],
|
|
"description": "Returns the ID string for a timezone object, using IDs from the IANA timezone database.",
|
|
"arguments": [{
|
|
"arg": "timezone",
|
|
"description": "a valid timezone object"
|
|
}],
|
|
"examples": [{
|
|
"expression": "timezone_id(timezone_from_id('Australia/Brisbane'))",
|
|
"returns": "'Australia/Brisbane'"
|
|
}],
|
|
"tags": ["time", "zone", "date", "datetime", "offset", "utc"]
|
|
}
|