This is the cl-strftime Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:25:35 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-strftime
Common Lisp compiler for the strftime language.
Paul M. Rodriguez <pmr@ruricolist.com>
MIT
alexandria
(system).
serapeum
(system).
cl-ppcre
(system).
local-time
(system).
package.lisp
(file).
time.lisp
(file).
directives.lisp
(file).
named-format.lisp
(file).
math.lisp
(file).
cl-strftime.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-strftime/cl-strftime.asd
cl-strftime/package.lisp
cl-strftime/time.lisp
cl-strftime/directives.lisp
cl-strftime/named-format.lisp
cl-strftime/math.lisp
cl-strftime/cl-strftime.lisp
cl-strftime/time.lisp
package.lisp
(file).
cl-strftime
(system).
+storage-for-deflex-var-am/pm-hours+
(constant).
+storage-for-deflex-var-century-years+
(constant).
+storage-for-deflex-var-day-hours+
(constant).
+storage-for-deflex-var-gmt+
(constant).
+storage-for-deflex-var-gregorian-cycle+
(constant).
+storage-for-deflex-var-hour-seconds+
(constant).
+storage-for-deflex-var-leap-year-days+
(constant).
+storage-for-deflex-var-month-days+
(constant).
+storage-for-deflex-var-utc+
(constant).
+storage-for-deflex-var-week-days+
(constant).
+storage-for-deflex-var-year-days+
(constant).
+storage-for-deflex-var-year-months+
(constant).
+storage-for-deflex-var-zulu+
(constant).
am/pm-hours
(symbol macro).
century-years
(symbol macro).
day
(type).
day-hours
(symbol macro).
gmt
(symbol macro).
gregorian-cycle
(symbol macro).
hour
(type).
hour-seconds
(symbol macro).
iso-long-year-table
(symbol macro).
iso-long-year?
(function).
iso-week
(type).
last-week
(function).
leap-year-days
(symbol macro).
minute
(type).
month
(type).
month-days
(symbol macro).
month-lengths
(symbol macro).
month-name
(function).
month-offset
(function).
month-offsets
(symbol macro).
months
(symbol macro).
second
(type).
short-month-name
(function).
short-months
(symbol macro).
short-weekday-name
(function).
short-weekdays
(symbol macro).
time
(type).
time-zone
(type).
universal-time
(type).
utc
(symbol macro).
week
(type).
week-days
(symbol macro).
weekday
(type).
weekday-name
(function).
weekdays
(symbol macro).
year
(type).
year-days
(symbol macro).
year-months
(symbol macro).
zulu
(symbol macro).
cl-strftime/directives.lisp
time.lisp
(file).
cl-strftime
(system).
directive-action
(type).
find-directive
(function).
flag
(type).
time-directives
(symbol macro).
cl-strftime/named-format.lisp
directives.lisp
(file).
cl-strftime
(system).
named-time-format
(function).
named-time-formats
(symbol macro).
cl-strftime/math.lisp
named-format.lisp
(file).
cl-strftime
(system).
am/pm
(function).
am/pm-lowercase
(function).
century-of-year
(function).
day-of-year-number
(function).
extract-time-zone-abbrev
(function).
iso-8601-week-number
(function).
iso-8601-year
(function).
iso-8601-year-of-century
(function).
iso-day-of-week
(function).
iso-week+year
(function).
leap-year?
(function).
monday-week-number
(function).
o-clock
(function).
sunday-week-number
(function).
time-zone-name
(function).
time-zone-offset
(function).
time-zone-offset-with-colon
(function).
timestamp-day-of-year
(function).
week-number
(function).
year-of-century
(function).
cl-strftime/cl-strftime.lisp
math.lisp
(file).
cl-strftime
(system).
format-time
(compiler macro).
format-time
(function).
make-time-formatter
(function).
*compiled-time-formats*
(special variable).
*default-width*
(special variable).
compile-directive
(function).
compile-flag
(function).
compile-flag-char
(function).
compile-formatter
(function).
compile-parsed-format
(function).
expand-tz
(function).
flatten!
(function).
make-time-formatter-1
(function).
parse-format-string
(function).
writer
(type).
Packages are listed by definition order.
cl-strftime
alexandria
.
common-lisp
.
local-time
.
serapeum
.
format-time
(compiler macro).
format-time
(function).
make-time-formatter
(function).
*compiled-time-formats*
(special variable).
*default-width*
(special variable).
+storage-for-deflex-var-am/pm-hours+
(constant).
+storage-for-deflex-var-century-years+
(constant).
+storage-for-deflex-var-day-hours+
(constant).
+storage-for-deflex-var-gmt+
(constant).
+storage-for-deflex-var-gregorian-cycle+
(constant).
+storage-for-deflex-var-hour-seconds+
(constant).
+storage-for-deflex-var-leap-year-days+
(constant).
+storage-for-deflex-var-month-days+
(constant).
+storage-for-deflex-var-utc+
(constant).
+storage-for-deflex-var-week-days+
(constant).
+storage-for-deflex-var-year-days+
(constant).
+storage-for-deflex-var-year-months+
(constant).
+storage-for-deflex-var-zulu+
(constant).
am/pm
(function).
am/pm-hours
(symbol macro).
am/pm-lowercase
(function).
century-of-year
(function).
century-years
(symbol macro).
compile-directive
(function).
compile-flag
(function).
compile-flag-char
(function).
compile-formatter
(function).
compile-parsed-format
(function).
day
(type).
day-hours
(symbol macro).
day-of-year-number
(function).
directive-action
(type).
expand-tz
(function).
extract-time-zone-abbrev
(function).
find-directive
(function).
flag
(type).
flatten!
(function).
gmt
(symbol macro).
gregorian-cycle
(symbol macro).
hour
(type).
hour-seconds
(symbol macro).
iso-8601-week-number
(function).
iso-8601-year
(function).
iso-8601-year-of-century
(function).
iso-day-of-week
(function).
iso-long-year-table
(symbol macro).
iso-long-year?
(function).
iso-week
(type).
iso-week+year
(function).
last-week
(function).
leap-year-days
(symbol macro).
leap-year?
(function).
make-time-formatter-1
(function).
minute
(type).
monday-week-number
(function).
month
(type).
month-days
(symbol macro).
month-lengths
(symbol macro).
month-name
(function).
month-offset
(function).
month-offsets
(symbol macro).
months
(symbol macro).
named-time-format
(function).
named-time-formats
(symbol macro).
o-clock
(function).
parse-format-string
(function).
second
(type).
short-month-name
(function).
short-months
(symbol macro).
short-weekday-name
(function).
short-weekdays
(symbol macro).
sunday-week-number
(function).
time
(type).
time-directives
(symbol macro).
time-zone
(type).
time-zone-name
(function).
time-zone-offset
(function).
time-zone-offset-with-colon
(function).
timestamp-day-of-year
(function).
universal-time
(type).
utc
(symbol macro).
week
(type).
week-days
(symbol macro).
week-number
(function).
weekday
(type).
weekday-name
(function).
weekdays
(symbol macro).
writer
(type).
year
(type).
year-days
(symbol macro).
year-months
(symbol macro).
year-of-century
(function).
zulu
(symbol macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Write TIME to STREAM as instructed by FORMAT.
TZ may be ‘nil’ (for the current default timezone), ‘t’ (for GMT), or
an object of type ‘local-time::timezone’.
FLAGS
- Do not pad
_ Pad with spaces
0 Pad with zeros
# Toggle case
^ Upcase
DIRECTIVES
%% Literal percent sign
%A Weekday (Sunday)
%a Abbreviated weekday (Sun)
%B Month (January)
%b Abbreviated month (Jan)
%C Century (20)
%d Day of month (01-31)
%D Same as %m/%d/%y
%e Same as %_2d
%F Same as %Y-%m-%d
%G ISO 8601 year
%g ISO 8601 year in century
%h Same as %b
%H Hour (01–24)
%I Hour (01–12)
%j Day of year (001-366)
%k Hour ( 1-24)
%l Hour ( 1-12)
%m Month (01-12)
%M Minute (00-59)
%n Literal newline
%p AM or PM
%P am or pm
%r Same as %I:%M:%S %p
%R Same as %H:%M
%s Epoch time
%S Second (00-59)
%t Literal tab
%T Same as %H:%M:%S
%u Day of week (weeks start on Monday)
%U Week number
%V ISO 8601 week number
%w Day of week
%W Week number (weeks start on Monday)
%y Year of century (12)
%Y Year (2012)
%z RFC 2822 timezone
%Z Name of timezone
NAMED FORMATS
(Formats on the same line are synonyms.)
:ARPA :EMAIL :RFC-822
:ASCTIME :CTIME
:COOKIE
:HTTP :RFC-2616
:NEWS :RFC-850 :USENET
:RSS :RFC-2822 :RFC-1036 :RFC-2086
:RFC-1132
:UNIX
:W3C :HTML :RFC-3339 :XML :ATOM
Hours ante/post meridian.
Years in a century.
Hours in a day.
Length of a cycle in the Gregorian calendar.
Seconds in an hour.
Days in a leap year.
Maximum number of days in a month.
Days in a week.
Days in a (non-leap) year.
Months in a year.
Return the day of week from 1–7, where 1 is Monday.
The day of year of TIME, counting from 1.
A day of the month.
An hour.
A minute.
A month.
A minute.
A week of the year.
A day of the week.
A year.
Jump to: | A C D E F I L M N O P S T W Y |
---|
Jump to: | A C D E F I L M N O P S T W Y |
---|
Jump to: | *
+
A C D G H I L M N S T U W Y Z |
---|
Jump to: | *
+
A C D G H I L M N S T U W Y Z |
---|
Jump to: | C D F H I M N P S T U W Y |
---|
Jump to: | C D F H I M N P S T U W Y |
---|