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

Compare with Current View Page History

Version 1 Next »

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


NameDescriptionParametersReturn TypeUsage Examples
FormatFormats a timespan 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")
FullAbreviatedText




Hours




LongText




Milliseconds




Minutes




Seconds




ShortAbbreviatedText




ShortText




ShortTextPadding




Text




TotalHours




TotalMilliseconds




TotalMinutes




TotalSeconds










  • No labels