Smile for the Camera: a new cybercrime short story ebook.

datetime2 package FAQ

How do I temporarily change the date/time style? 🔗

Command like \DTMsetstyle are local to the current scope, so you can just put them inside a group. For example:

{\DTMsetstyle{ddmmyyyy}\DTMnow}

2021-09-29 10:32:57


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

Category: datetime2 package
Topic: Date/Time Styles