Template:DateDiff/doc: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:2300:23, 17 October 2024Alex talk contribs 1,944 bytes +1,944 Created page with "{{Documentation}} :''This template is only applicable for dates from 1 January 1970 onwards only.'' The '''DateDiff''' returns the difference in days (possibly with decimals) between two dates in the Gregorian calendar. The return value is positive if <code>date2</code> comes ''after'' <code>date1</code>, and is negative if <code>date2</code> comes ''before'' <code>date1</code> (i.e. the template computes <code>date2 - date1</code>). ===Usage=== If two dates supplied..."