Now
Returns the current DateTimeObject representing the current zoned instance
Method Signature
Arguments
Argument
Type
Required
Description
Default
timezone
string
false
A timezone to use for the DateTime object, defaults to the system default
Examples
Using now() in Script
Let's display the current server datetime using script.
Result: The current date and time is: {ts '2014-03-19 15:27:42'}
Using now() in Tagged BL
Let's display the current server datetime using tagged BL.
Result: The current date and time is: {ts '2014-03-19 15:27:42'}
Additional Examples
Related
Last updated
Was this helpful?