calendar.format vocabulary
Factor handbook > Vocabulary index


Summary
Formatting dates and times

Words

Generic words
WordStack effect
day.( obj -- )
month.( obj -- )
year.( obj -- )


Macro words
WordStack effect
formatted( spec -- quot )


Ordinary words
WordStack effect
(timestamp>cookie-string)( timestamp -- )
(timestamp>hms)( timestamp -- )
(timestamp>rfc3339)( timestamp -- )
(timestamp>string)( timestamp -- )
(timestamp>ymd)( timestamp -- )
(write-rfc3339-gmt-offset)( duration -- )
D( time -- )
DAY( time -- )
DD( time -- )
MM( time -- )
MONTH( time -- )
YYYY( time -- )
YYYYY( time -- )
duration>hm( duration: duration -- str )
duration>hms( duration: duration -- str )
duration>human-readable( duration: duration -- string )
file-time-string( timestamp -- string )
hh( time -- )
mm( time -- )
pad-00( n -- str )
pad-0000( n -- str )
pad-00000( n -- str )
ss( time -- )
ss.SSSSSS( timestamp -- )
timestamp>cookie-string( timestamp -- str )
timestamp>git-time( timestamp -- str )
timestamp>hms( timestamp: timestamp -- str )
timestamp>http-string( timestamp -- str )
timestamp>mdtm( timestamp -- str )
timestamp>rfc3339( timestamp -- str )
timestamp>rfc822( timestamp -- str )
timestamp>string( timestamp -- str )
timestamp>ymd( timestamp: timestamp -- str )
timestamp>ymdhms( timestamp: timestamp -- str )
write-00( n -- )
write-0000( n -- )
write-00000( n -- )
write-gmt-offset( gmt-offset -- )
write-gmt-offset-number( gmt-offset -- )
write-hhmm( duration -- )
write-rfc3339-gmt-offset( duration -- )


Files