The datetime package is a LATEX2" package that provides various di erent formats for \today, and provides commands for displaying the current time. If you only want the time commands but not the date changing commands, you can pass the option nodate to the package.
Since version 2.4, the datetime package has been separated into two packages: datetime and fmtcount. When I originally created this package, I de ned the commands, \ordinal etc which could be used in the de nition of \today. Since then, I have extended the number of commands available that can be used to display the value of a LATEX counter, however it seems more appropriate to de ne all these counter-related commands in a separate package. The fmtcount package is now distributed separately from the datetime package, and will also need to be installed.
As from version 2.42, the datetime package is now compatible with babel, however you must load the datetime package after the babel package. For example:
There are various declarations that change the e ect of \today. The change can be localised by placing the declaration within a group.
As from version 2.43, the numerical date formats (such as \ddmmyyyydate) use the command
to separate the numbers. So, for example, if you want to hyphens instead of slashes, you can do:
This declaration will rede ne \today to produce the current date displayed in the form 2000/03/08. (You can rede ne \dateseparator to - to change to 2000-03-08.)
This declaration will rede ne \today to produce the current date displayed in the form Wednesday 8th March, 2000 if the package option dayofweek is used, or 8th March, 2000 if the package option nodayofweek is used.
This declaration will rede ne \today to produce the current date displayed in the form Wed 8th Mar, 2000 if the package option dayofweek is used, or 8th Mar, 2000 if the package option nodayofweek is used.
This declaration will rede ne \today to produce the current date displayed in the form 08/03/2000.
This declaration will rede ne \today to produce the current date displayed in the form 8/3/2000.
This declaration will rede ne \today to produce the current date displayed in the form 08/03/00.
This declaration will rede ne \today to produce the current date displayed in the form 8/3/00.
This declaration will rede ne \today to produce the current date displayed in the form: Wednesday the Eighth of March, Two Thousand if the package option dayofweek is used, or Eighth of March, Two Thousand if the package option nodayofweek is used. Note that \textdate is de ned for use with English, it won't look right if it is used when another language has been selected1. If you want to de ne a similar command for another language, you will rst need to check that the fmtcount package supports that language.
This declaration will rede ne \today to produce the current date displayed in the form March 8, 2000. (As TEX and LATEX do by default.)
This declaration will rede ne \today to produce the current date displayed in the form 03/08/2000.
This declaration will rede ne \today to produce the current date displayed in the form 3/8/2000.
This declaration will rede ne \today to produce the current date displayed in the form 03/08/00.
This declaration will rede ne \today to produce the current date displayed in the form 3/8/00.
In addition to the above, the declarations \datehlangi are available for all languages de ned either by calling babel prior to datetime or by passing the language name as an option to datetime. See