Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns the time zone specified in the time zone parameter.


Code Block
languagebash
titleSyntax
linenumberstrue
timeZone(text) #Output: TimeZone


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
timeZone("DST")


This example returns the DST time zone.


Code Block
languagebash
linenumberstrue
timeZone(projectProperty("timeZone"))


This example returns the time zone configured in the current project as a project property.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
text

Status
subtletrue
titletext

The time zone used for the calculation. The input value must be a text.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletime zone


UI Text Box
typetip

This function is useful to obtain a time zone from a text, for example if the user time zone is stored as the value in the project properties.



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_timezone" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(question)
Notes

Workaround

Since to convert string to date time values the string needs to be written in the ISO 8601 format, the time zones will always be just like it is explained here. With this in mind, a workaround can be build if needed using our parser function getMatchingValue().




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a time zone.

Output

Status
subtletrue
titletime zone

Available since

Status
subtletrue
colourBlue
title2.2.39

Label