Template:Previous weekday

From Geohashing
Revision as of 16:33, 2 July 2008 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2024-05-02 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.