Back to Index
Definition: dow() — Allowed: no arguments; Not allowed: any arguments.
dow()
Returns the local day-of-week as Mon=0 through Sun=6. Returns -1 if local time is not available.
if (dow() == 5) { logn("Saturday"); }