npdt_to_date

npdt_to_date

sorts.dates.npdt_to_date(dt)[source]

Converts a numpy datetime64 value to a date tuple

Parameters

dt (numpy.datetime64) – Date and time (UTC) in numpy datetime64 format

Returns

tuple (year, month, day, hours, minutes, seconds, microsecond) all except usec are integer