Tinderbox v10 Icon

time(aDate)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Date-time  [other Date-time operators]

 String [about String data type]

 v4.0.0

 Baseline

 As at baseline


time(aDate)

returns a string of the hours/minutes/seconds time part the aDate date/time expression, which may simply be a date-type attribute value. For instance:

$MyString = time($StartDate); 

If the time of $StartTime is 14:20:30 then $MyString will be "14:20:30". Passing to a string will elide leading zeroes, so a time of 05:08 will return "5:08".


See also—notes linking to here: