{{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.
SEP IT AG
sep.ch verwendet Cookies und ähnliche Technologien, um das Nutzererlebnis auf unserer Webseite zu verbessern und unseren Datenverkehr zu analysieren. Mehr Informationen in unserer Datenschutzerklärung


Help - CTime