c4d.gui.DateTimeControl

Spline GUI( DATETIME_GUI ) for DateTimeData data type. These are the settings:

DATETIME_TIME_CONTROL bool True, if this is a clock.
DATETIME_DATE_CONTROL bool True, if this is a calendar.
DATETIME_COLUMN bool True, if the calendar and the clock should be in one column.
DATETIME_TIME_NOW bool True, if the clock has a “Now” button.
DATETIME_DATE_TODAY bool True, if the calendar has a “Today” button.
DATETIME_CLOCK_OPEN bool True, if the clock is visible.
DATETIME_CALENDAR_OPEN bool True, if the calendar is open.
DATETIME_COMPACT_MODE bool True, if you want a compact mode.
DATETIME_COMPACT_OPEN bool True, if the compact mode is open.
DATETIME_NO_DATE_COLLAPSE bool True, if the date open/close arrow should be hidden.
DATETIME_NO_TIME_COLLAPSE bool True, if the time open/close arrow should be hidden.
DATETIME_NO_SECONDS bool True, if the seconds should not be shown.

This is how it looks like:

../../../../_images/datetime.png

Definition

class c4d.gui. DateTimeControl

Inheritance

Members

DateTimeControl. SetDateTime ( d[, bSetData=True][, bSetTime=True] )

Sets the time.

Parameters:
  • d ( c4d.DateTimeData ) – The new time.
  • bSetData ( bool ) – If this is False the date part of d is disregarded.
  • bSetTime ( bool ) – If this is False the time part of d is disregarded.
DateTimeControl. GetDateTime ( )

Get the time.

Return type: c4d.DateTimeData
Returns: The new spline data object.

Table Of Contents