Questions tagged [datetime2]

The `datetime2` package provides commands for formatting dates, times and time zones and redefines `\today` to use the same formatting style.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
177 views

Datetime2 package example usage for new era definition

Background I want to create a timeline that is based on years, but I don't want to handle a mix of negative and positive numbers (i.e. BC/AD which gives us this year as 2016 and 4032 years ago is ...
2
votes
0answers
90 views

Listing Schedules By Week and by Specific Dates Using `datetime`

I am using datetime to automatically generate a schedule. The MWE at the moment allows me to list weeks (and dates of the beginning and the end of each weak). But I would like to combine this with ...
1
vote
0answers
102 views

Using datetime2 to automatically update dates?

I've been wondering if the following things are possible entirely within LaTeX using the datetime2 package (at the moment I'm using the python package and an external text file to create tables of ...
0
votes
0answers
10 views

Year calculations with datetime2 and pgfkeys

I would like to add years to a given date (without having to care about leapyears). I should be able to define the date via pgfkeys and after that add years to this date. For example 01.01.2020 -> +...
0
votes
1answer
47 views

datetime2 - Display Daterange

Is it possible to display a daterange with datetime2 like in isodate? isodate automatically calculates the correct difference and displays the correct range. However, datetime2 has the correct display....
0
votes
0answers
67 views

Make documents where the date printed on the document is automatically the date of creation of document

Is there a way to create latex documents where the date printed on the documents is always by default the date of creation of the document? I don't want to compile the same latex file 30 days later ...