Template:IfSaturday

From Geohashing
Revision as of 20:46, 6 March 2020 by SIGSTKFLT (talk | contribs) (Examples)

Based on the date argument (or the current date if not specified), returns argument 1 if it is saturday, argument 2 otherwise.

{{IsSaturday|y|n}} → n (as of this writing)
{{IsSaturday|y|n|date=2020-03-06}} → n
{{IsSaturday|y|n|date=2020-03-07}} → y
{{IsSaturday|y|n|date=aspoidmapi}}Expression error: Unexpected < operator.