...
As a difference from the Date Field, DateTime Field is capable of changing the DateTime TimeZone time zone easing the process of localization.
A list of all supported time zones can be found here.
Parameter | Type | Default | Required | Description |
---|---|---|---|---|
format | Union[str] | '%Y-%m-%d' | False | Format for the field. |
timezone | Union[str, None] | - | False | Timezone for the field. |
Parameter | Type | Default | Required | Description |
---|---|---|---|---|
type | DynamicFieldType | DATE | True | Type of the dynamic field. |
Code Block | ||||
---|---|---|---|---|
| ||||
DateTimeField(field='data.launch_time', format='%Y-%m-%d %H:%M', timezone='etc/GMT+6') |