Latest news 2024-02-16: Experimental (unstable) datatool v2.49a available for testing. Download from the experimental page if you would like to try it out.

Feature Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 43🔗
Date: 2016-11-16 10:35:29
Status Open
Category datetime2
Summary saved date conditionals

Sign in to subscribe to notifications about this report.


<a> and <b> are two saved dates.
\DTMsavedifdiffdate{<a>}{<b>}{<if a!=b>}{<if a==b>}
\DTMsavedifnewerdate{<a>}{<b>}{<if a newer than b>}{<if a not newer than b>}
Here is the code (it is easy to add ifdifftime or ifdiffdatetime) :
    \PackageError{datetime2}{Undefined date-time `#4'}{}%
      \PackageError{datetime2}{Undefined date-time `#5'}{}%
           #1\ifnum\csname @dtm@#4@##1\endcsname#2\csname @dtm@#5@##1\endcsname


No mwe.tex




Add Comment

Name (optional):

Are you human? Please confirm the feature request ID (which can be found at the top of this page) or login if you have an account.


You can use the following markup:


[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]

Ordered list:
[li]first item[/li]
[li]second item[/li]

Unordered list:
[li]first item[/li]
[li]second item[/li]

You can use the Preview button to review your message formatting before submitting.

Page permalink: