/
Date Time Functions

Date Time Functions

The following api. functions are available:

FunctionExample
calendar
dateTimeUserEntry
dateUserEntry
getTimeZone
parseDate
parseDateTime
targetDate
def date = api.targetDate()?.format("yyyy-MM-dd")

Related content

How to Get Date Time for Specific Timezone and Date in Specific Format
How to Get Date Time for Specific Timezone and Date in Specific Format
More like this
How can I manipulate with datetimes?
How can I manipulate with datetimes?
More like this
Why does api.getElement(DATE).format produce an unexpected result?
Why does api.getElement(DATE).format produce an unexpected result?
More like this
How do I get today's date in a Groovy script?
How do I get today's date in a Groovy script?
More like this
How to Design Proper Query to Retrieve Records by Date
How to Design Proper Query to Retrieve Records by Date
Read with this

Found an issue in documentation? Write to us.