You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The time object represents a time value and includes properties and functions to extract numbers, and functions to convert to a string representation. Note that the local time value and formatting output is based on the timezone of the server or agent where the expression is evaluated.

NameDescriptionParametersReturn TypeUsage Examples
FormatFormats a date or time value using standard or custom .Net formatting strings
String$Server.Now.Format("hh:mm")$"23:55" (given the date time "31/12/2000 23:55:333")
Hour




HoursAgo




Millisecond




Minute




MinutesAgo




Second




SecondsAgo




ToLongTimeString




ToShortTimeString
















  • No labels