calendar.format vocabulary
Factor handbook ยป Vocabulary index


Summary
Formatting dates and times

Metadata
Tags:time


Words

Generic words
WordStack effect
day.( obj -- )
elapsed-time( seconds -- string )
relative-time( seconds -- string )
year.( obj -- )


Macro words
WordStack effect
formatted( spec -- quot )


Ordinary words
WordStack effect
D( timestamp -- )
DAY( timestamp -- )
DD( timestamp -- )
MM( timestamp -- )
MONTH( timestamp -- )
YYYY( timestamp -- )
YYYY-MM-DD( timestamp -- )
duration>hm( duration -- str )
duration>hms( duration -- str )
duration>human-readable( duration -- string )
hh( timestamp -- )
hh:mm( timestamp -- )
hh:mm:ss( timestamp -- )
hh:mm:ss.SSSSSS( timestamp -- )
hhmm( timestamp -- )
mm( timestamp -- )
month.( timestamp -- )
pad-00( n -- str )
pad-0000( n -- str )
relative-time-offset( seconds -- string )
ss( timestamp -- )
ss.SSSSSS( timestamp -- )
timestamp>cookie-string( timestamp -- str )
timestamp>ctime-string( timestamp -- str )
timestamp>git-string( timestamp -- str )
timestamp>hms( timestamp -- str )
timestamp>http-string( timestamp -- str )
timestamp>iso8601( timestamp -- str )
timestamp>mdtm( timestamp -- str )
timestamp>rfc1036( timestamp -- str )
timestamp>rfc2822( timestamp -- str )
timestamp>rfc3339( timestamp -- str )
timestamp>rfc822( timestamp -- str )
timestamp>rfc850( timestamp -- str )
timestamp>string( timestamp -- str )
timestamp>ymd( timestamp -- str )
timestamp>ymdhms( timestamp -- str )
write-00( n -- )
write-0000( n -- )
write-ctime( timestamp -- )
write-gmt-offset( gmt-offset -- )
write-gmt-offset-hh:mm( gmt-offset -- )
write-gmt-offset-hhmm( gmt-offset -- )
write-gmt-offset-z( gmt-offset -- )
write-iso8601( timestamp -- )
write-rfc1036( timestamp -- )
write-rfc2822( timestamp -- )
write-rfc3339( timestamp -- )
write-rfc822( timestamp -- )
write-rfc850( timestamp -- )
write-timestamp( timestamp -- )


Files


Metadata files


Children
VocabularySummary
calendar.format.private