Template:Previous weekday

From Geohashing
Revision as of 16:33, 2 July 2008 by imported>Tjtrumpet2323
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2024-03-27

Usage

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.