[Numpy-discussion] datetimes with date vs time units, local time, and time zones

Grové grove.steyn@gmail....
Thu Sep 29 09:27:59 CDT 2011


Hi Mark

Did you ever get to write:

date_as_datetime(datearray, hour, minute, second, microsecond, 
timezone='local', unit=None, out=None)
and
datetime_as_date(datetimearray, timezone='local', out=None)
?

I am looking for an easy way of using datetime[m] data to test for business days 
and do half hourly comparisons.

I am using:

In [181]: np.__version__
Out[181]: '2.0.0.dev-aded70c'


Regards

Grové Steyn



More information about the NumPy-Discussion mailing list