act.utils.datetime64_to_datetime#

act.utils.datetime64_to_datetime(time)[source]#

Given a numpy datetime64 array time series, return datetime (y, m, d, h, m, s)

Parameters:

time (numpy datetime64 array, list of numpy datetime64 values or) – scalar numpy datetime64. The numpy array of date time values.

Returns:

datetime (list) – Returns a list of datetimes (y, m, d, h, m, s) from a time series. YYYY-MM-DD, DD.MM.YYYY, DD/MM/YYYY or YYYYMMDD.