Hi everyone,
Trying to convert the Month/Day/Year to Day/Month/Year format and unfortunately it always default to the Month/Day/Year.
Is there anything I should be considering?
dt_settings = c4d.BaseContainer()
dt_settings.SetBool(c4d.DATETIME_DATE_CONTROL, True)
dt_settings.SetBool(c4d.DATETIME_CALENDAR_OPEN, True)
self.date = self.AddCustomGui(TRELLO_DEAD_TEXTBOX, c4d.DATETIME_GUI, "", c4d.BFH_LEFT, 0, 0, dt_settings)
dt = datetime.strptime('16.07.2011', "%d.%m.%Y")
dtd = c4d.DateTimeData()
dtd.SetDateTime(dt)
self.date.SetDateTime(dtd)
Output:
Thank you all in advance! :relaxed:
Andre