TimePart


 

TimePart>time,interval,result

 

Returns part of a time specified by interval. Interval can be one of:

 

H: Hour

M: Minute

S: Second

 

The time should be in a format recognised by the system.  Use TimeLocal to generate a time in local system format.

 

See also: TimeAdd, TimeDiff, TimeLocal

 

Example

 

GetTime>now

TimePart>now,H,CurrentHour