>time< ( timestamp -- hour minute second )


Vocabulary
calendar

Inputs
timestampa timestamp


Outputs
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 ;