Skip to content

time_t_dayofweek()#

Syntax
time_t_dayofweek( time_t, time_zone )

Returns#

Returns the day of the week as an integer (0 = Sunday, 6 = Saturday).

Parameters#

Parameter Description
time_t A Unix timestamp.
time_zone The timezone offset in seconds from UTC.