TimestampType.
Usage example:
udf astimezone()
tz(String): The time zone to convert to. Must be a valid time zone name from the IANA Time Zone Database.
udf day()
datetime.day.
udf hour()
datetime.hour.
udf isocalendar()
'year', 'week', and 'weekday'.
Equivalent to datetime.isocalendar().
udf isoformat()
datetime.isoformat().
Parameters:
sep(String): Separator between date and time.timespec(String): The number of additional terms in the output. See thedatetime.isoformat()documentation for more details.
udf isoweekday()
datetime.isoweekday().
udf make_timestamp()
datetime().
udf microsecond()
datetime.microsecond.
udf minute()
datetime.minute.
udf month()
datetime.month.
udf posix_timestamp()
datetime.timestamp().
udf replace()
datetime.replace().
udf second()
datetime.second.
udf strftime()
datetime.strftime().
Parameters:
format(String): The format string to control the output. For a complete list of formatting directives, seestrftime()andstrptime()Behavior.
udf toordinal()
datetime.toordinal().
udf weekday()
datetime.weekday().
udf year()
MINYEAR and
MAXYEAR inclusive.
Equivalent to datetime.year.