Date and time*

work-in-progress

Now

x> now
[Time: .........]

Components of Datetime

now :n

; convention: ? at the end of the word (noun) means get-noun 

n .year?

n .month?

n .day?

n .hours?

n .minutes?

n .seconds?

Datetime math

now :n

; convention: ? at the end of the word (noun) means get-noun 

n + 10 .seconds

n + 10 .minutes

n - 5 .hours

n + 1 .days

( n + 5 .hours ) > n + 5 .seconds  ; or

n + 5 .hours |> n + 5 .seconds

Difference

now :n1

; wait a little

now :n2

n1 - n2 :nd

print nd / 1 .seconds " seconds passed between"