Template:Dectime/2

From Meta, a Wikimedia project coordination wiki

This auxiliary template allows template:Dectime (edittalklinkshistory) to operate on a single "{{CURRENTTIMESTAMP|=}}" gives "Template:CURRENTTIMESTAMP" [1] without risk of critical races:

0.46082175925926 should be a decimal fraction for the current timestamp.

Usage: {{Dectime/2|YYYYMMDDhhmmss}}, only nonnegative whole numbers, no error handling. The code is not trivial, it inserts the relevant time portion of Timestamp2MJD into the Dectime code with its special cases for small timestamps (00:00:00 up to 00:00:09).

This template was replaced by template:Timestamp2MJD (edittalklinkshistory), the reasons are stated on Template:YMD2MJD/2, a set of four related templates is better than a set of six templates for various reasons.