Difference between revisions of "Template:Previous weekday"

From Geohashing
imported>Tjtrumpet2323
(New page: {{ #ifexpr: ({{ #time: N | {{{1|{{CURRENTTIMESTAMP}} }}} }} = 7) or ({{ #time: N | {{{1|{{CURRENTTIMESTAMP}} }}} }} = 1) | {{#time:Y-m-d|{{{1|{{CURRENTTIMESTAMP}} }}} last Friday}} <!-- is...)
(No difference)

Revision as of 16:33, 2 July 2008

2024-05-17 For use when calculating what date to use when Dow holidays occur.

  • If date passed is Tuesday - Friday, returns the previous day.
  • If date passed is Saturday - Monday, returns the previous Friday.