Method

GLibDateTimeget_day_of_week

since: 2.26

Declaration [src]

gint
g_date_time_get_day_of_week (
  GDateTime* datetime
)

Description [src]

Retrieves the ISO 8601 day of the week on which datetime falls (1 is Monday, 2 is Tuesday… 7 is Sunday).

Available since: 2.26

Return value

Type: gint

The day of the week.