DateTime.getYmd

Retrieves the Gregorian day, month, and year of a given GDateTime. Since 2.26

class DateTime
void
getYmd
(
out int year
,
out int month
,
out int day
)

Parameters

year int

the return location for the gregorian year, or NULL. out[allow-none]

month int

the return location for the month of the year, or NULL. out[allow-none]

day int

the return location for the day of the month, or NULL. out[allow-none]

Meta