datetime2 package FAQ

Is there an equivalent to datetime’s \textdate and \oclock styles? 🔗

Yes, but you need to load the datetime2-en-fulltext package. Example usage:

\documentclass{article}
\usepackage[showdow]{datetime2-en-fulltext}
\begin{document}
Date: \today. Time: \DTMcurrenttime.
\end{document}
See the datetime2-en-fulltext documentation for further details.

2023-04-14 10:31:46


Permalink: https://www.dickimaw-books.com/faq.php?id=196
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=fulltextdatetime

Category: datetime2 package
Topic: Date/Time Styles