Method

GLibDateset_dmy

Declaration

void
g_date_set_dmy (
  GDate* date,
  GDateDay day,
  GDateMonth month,
  GDateYear y
)

Description

Sets the value of a GDate from a day, month, and year. The day-month-year triplet must be valid; if you aren’t sure it is, call g_date_valid_dmy() to check before you set it.

Parameters

day GDateDay
 

Day.

month GDateMonth
 

Month.

y GDateYear
 

Year.