Difference between revisions of "Template:Before"

From Conservapedia
Jump to navigation Jump to search
(Want it to increment at midnight (Eastern Time))
(Use {{tl|days before}} for more accuracy?)
Line 1: Line 1:
−
<includeonly>{{#expr: -( {{#time:U}} - {{#time:U|{{{1}}}-{{{2}}}-{{{3}}} -5}} ) / 86400 +0.5 round 0}}</includeonly><noinclude>
+
<includeonly>{{#ifexpr: {{days before |{{{1}}}|{{{2}}}|{{{3}}} }} > 0 | {{{4}}} | {{{5}}} }}</includeonly><noinclude><noinclude>
 
See examples in [[template talk:before]]</noinclude>
 
See examples in [[template talk:before]]</noinclude>
 
[[Category:Navigation box]]
 
[[Category:Navigation box]]

Revision as of 03:46, January 16, 2017

See examples in template talk:before