HandlerTime.setSqlSpec

void setSqlSpec(glib.types.DateDMY first, glib.types.DateDMY sec, glib.types.DateDMY third, char separator, bool twodigitsYears)

Specifies the SQL output style of the dh data handler. The general format is "FIRSTsSECsTHIRD" where FIRST, SEC and THIRD are specified by first, sec and trird and 's' is the separator, specified by separator.

The default implementation is first=G_DATE_MONTH, sec=G_DATE_DAY and third=G_DATE_YEAR (the year is rendered on 4 digits) and the separator is '-'

Parameters

firstwhat comes first in the date representation
secwhat comes second in the date representation
thirdwhat comes third in the date representation
separatorseparator character used between year, month and day
twodigitsYearsTRUE if year part of date must be rendered on 2 digits