tmwday
tmwday is a term used in programming to refer to the weekday component of a broken-down time representation. In many C-family environments, the formal name for this value is tm_wday, a member of the standard struct tm defined in time.h. The shorthand tmwday is often seen in documentation or code discussions as a convenient alias or variable name for this field.
In the canonical C and POSIX implementations, tm_wday is an integer ranging from 0 to 6, where
tm_wday is typically valid for any calendar time within the proleptic Gregorian calendar and reflects the day
Usage typically involves obtaining a struct tm via localtime or gmtime, then reading the tm_wday field to