Handbook
Glossary
>time< ( timestamp -- hour minute second )
Vocabulary
calendar
Inputs
timestamp
a
timestamp
Outputs
hour
an
integer
minute
an
integer
second
an
integer
Word description
Explodes a
timestamp
into its hour, minute, and second components.
Examples
USING: arrays calendar prettyprint ; now noon >time< 3array .
{ 12 0 0 }
See also
>date<
Definition
USING:
accessors
kernel
;
IN:
calendar
:
>time<
( timestamp -- hour minute second )
[
hour>>
]
[
minute>>
]
[
second>>
]
tri
;