Currently, when I use \date{}
for an old document, I put the explicit form of the date. But this is a problem because I print all my documents in two versions, a personal version (with the form ) and a public one with the default settings.
So, I just want to give the date in a ISO format (YYYY-MM-DD) and, depending of the global settings, all dates in the document have to follow one format.
So, I ask if there is a kind of \displaydate
command witch take as argument the date in ISO format and display it according to the global setting.
So there is a package like that?
datetime2
. Documentation here or writetexdoc datetime2
in the terminal/commandline.