DateTime.getYmd

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

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

Parameters

yearthe return location for the gregorian year, or null.
monththe return location for the month of the year, or null.
daythe return location for the day of the month, or null.