Icon Time

Unit: Internal

Available In: Client and Server Applications

function Time: DateTime

The Time function returns the current time. The return value is a DateTime value.

Information DateTime values encompass both the date and time portion for a given date/time. The Time function will set the date portion of the date/time to the current date.

Examples

X := TimeToStr(Time);  // X is '12:10 PM'
Image