parse_time

parse_time(value)[source]

Parses input to a Timestamp object.

Parameters:

value (datetime-like) – Can be anything parsable by pandas. Integer is expected to be nanoseconds since UNIX epoch.

Returns:

The parsed input value. Timezone is set to UTC if undefined.

Return type:

Timestamp