This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.DateTimeData – a DateTimeData class

A datatype which contains information about the time. This type is called by value.

class c4d.DateTimeData

Methods

DateTimeData.__init__([v])
Parameter:v (DateTimeData) – Copy constructor.
Return type:DateTimeData
Returns:The new datetime data.
DateTimeData.GetDateTime()

Return the time.

Return type:time.struct_time
Returns:The time.
DateTimeData.SetDateTime(d[, bSetData=True][, bSetTime=True])

Set the time.

Parameters:
  • d – The new time.
  • d – If this is False the date part of d is disregarded.
  • d (time.struct_time) – If this is False the time part of d is disregarded.

Table Of Contents

This Page