FANDOM


Syntax

TIME

Explanation

TIME outputs the current time as a list of three numbers in the form [hour minute second]. The hours are in 24-hour format. See also DATE.

Example

? TO SECONDS.SINCE.MIDNIGHT

> LOCAL "T

> MAKE "T TIME

> OUTPUT ((FIRST :T) * 3600) + ((ITEM 2 :T) * 60) + LAST :T

> END

SECONDS.SINCE.MIDNIGHT defined.

? TIME

Result: [14 0 14]

? SECONDS.SINCE.MIDNIGHT

Result: 35986

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.