{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

CTime

Returns the time value of the argument.

Usage:

CTime( x )
CTime( HH, MM, SS )

Parameters:

X * a (decimal) number with each whole number being midnight and therefore fractionally calculating the time of day: 0.5 would be noon, 0.6 would be 2:24pm. * a string specifying time of day, such as "12:41:22 p.m." * or: a datetime value * HH - a whole number specifying hour of day * MM - a whole number specifying how many minutes of the time's hour have passed * SS - a whole number specifying how many seconds of the time's minute have passed.

Returns:

Time value

Localization

The output format depends on the locale set in the report. If no locale is specified for the report, the server locale will be used instead.

Important: The client locale has no influence on the result.

Examples:

CTime(20,23,22)         // 8:23:22 p.m.
CTime(-0.4)             // 2:24 p.m.
CTime("12:44:12 p.m.")  // 12:44:12 p.m.
CTime(dt)               // extracts the time of the datetime.
i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - CTime