Basic module

current_time_consensus

procedureSource

The current wall-clock time. This is the clock the computer's owner can set, so it can jump; use current_time_monotonic to measure how long something took. Returns APOLLO_TIME_INVALID if the system cannot say.

current_time_consensus :: () -> Apollo_Time

Returns

Example↗
now := current_time_consensus();
assert(compare_apollo_times(now, APOLLO_TIME_INVALID) != 0);

See also