Function

ECaltime_day_of_week

Declaration [src]

gint
time_day_of_week (
  gint day,
  gint month,
  gint year
)

Description [src]

Returns the day of the week for the specified date, 0 (Sun) to 6 (Sat). For the days that were removed on the Gregorian reformation, it returns Thursday. Year is the normal year, e.g. 2001. Month is 0 to 11.

Parameters

day

Type: gint

The day.

month

Type: gint

The month.

year

Type: gint

The year.

Return value

Type: gint

The day of the week for the given date.