Latest news 2024-07-03: Ebook sale (1st – 31st July 2024): short story cybercrime fiction Unsocial Media free; short story cybercrime fiction Smile for the Camera free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

datetime2 package FAQ

What are the main differences between datetime and datetime2? 🔗

The main changes are:

  1. All commands except \today and \Today have a prefix to help prevent clashes with other date and time-related packages. For example, \DTMcurrenttime instead of \currenttime.
  2. Commands like \today are designed to be expandable, which means you should be able to use them to write the date/time information to external files, use them in PDF bookmarks or metadata or use them in commands like \MakeUppercase. Styles should protect any fragile commands to assist with this. There may, however, be some supplementary styles in contributed packages that can’t produce expandable dates or styles. In which case this should be mentioned in the documentation for those supplementary packages.
  3. Language support is separated into independently installed and maintained modules. This means you only need to install the modules for your own language(s) rather than having to install everything. It also means that the language support can be maintained by someone who is actually familiar with the language.

2023-04-14 10:15:13


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

Category: datetime2 package
Topic: General