Command/currentdate
< Command
Jump to navigation
Jump to search
Contents
\currentdate
Summary
The command \currentdate typesets the current date.
Settings
\currentdate[...,...] | |
[...,...] | year year:name y y:name yy Y Y:name YY month month:mnem month:hebrew month:jalali m m:mnem m:hebrew m:jalali MONTH MONTH:mnem MONTH:hebrew MONTH:jalali mm M day day:name day:+ day:ord day:++ day:highord d d:name d:+ d:ord d:++ d:highord dd dd:+ dd:ord dd:++ dd:highord D D:+ D:ord D:++ D:highord weekday weekday:mnem weekday:hebrew weekday:jalali w w:mnem w:hebrew w:jalali WEEKDAY WEEKDAY:mnem WEEKDAY:hebrew WEEKDAY:jalali W referral space \\\\\\\\␣ text hebrew:to jalali:to jalali:from |
Option | Explanation |
---|---|
This format is a comma-separated list of field formats and optional separators. |
Settings name
Description
The command \currentdate typesets the current date using a supplied format.
Examples
Example 1
\currentdate[weekday,month,day,{, },year] \currentdate[day,{.~},month,{~},year]
gives
Notes
See also
- core-con.mkiv
- \date for lots more detail about the formatting options
- \definedate