Standard way to express a date in a real number?

sdhyok sdhyok at yahoo.com
Wed Apr 16 20:07:31 CEST 2003


Peter Hansen <peter at engcorp.com> wrote in message news:<3E9D509F.3FC4073 at engcorp.com>...
> How wide a range?  It is much easier to answer *specific*
> questions, than very broad ones as you are asking... narrow
> the scope a little and help us out.
> 
> -Peter

Thanks for your reply, Peter.
My area is hydrology, so the maximum range of sampling period 
is about several decades.
For instance, the period from 1930 to now.
In addition, not only year/month/day but also hour/min/sec should
be specified. So, integer is not enough, 
Real number expression is required.
As I mentioned at the first email,
the datenum() function in MATLAB is exactly what I need in Python.




More information about the Python-list mailing list