runStartTime

runStartTime, function

def pure runStartTime(): number

Returns the time of day at which the current run started, as a fraction between 0 and 1. The value 0 represents midnight, and 0.5 represents noon.

Examples

start = runStartTime()

show summary "Run start time" with
  start as "Day fraction"
  printTime(start, "HH:mm:ss") as "Time"

Output: one summary tile containing the run start time as a day fraction and as formatted text.

Remarks

runStartTime() cannot be called from modules or user-defined functions, and it is not available on try.lokad.com.

See also

User Contributed Notes
0 notes + add a note