Util.Time

Top  Previous  Next

 

Syntax

function Util.Time(): datetime

 

Alternative Names

ibec_Time

 

Description

Gets the current time, with an empty date part.

 

As the datetime data type is basically a float value, you need to use typed variables to properly display its value in the debugger.

 

The Return Value is the current time.

 

See Also

Util.Date
Util.Now

 

Example

execute UDSBlock

as

declare DValue2 date;       /* strong typed */

declare DTValue2 timestamp; /* strong typed */

declare TValue2 time;       /* strong typed */

begin

  DValue = Util.Date();

  DValue2 = Util.Date();

  

  DTValue = Util.Now();

  DTValue2 = Util.Now();

  

  TValue = Util.Time();

  TValue2 = Util.Time();

end