>time< ( timestamp -- hour minute second )


Vocabulary
calendar

Inputs and outputs
timestampa timestamp
houran integer
minutean integer
secondan 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


: >time< ( timestamp -- hour minute second )
[ hour>> ] [ minute>> ] [ second>> ] tri ;