Hi forks,

On my windows box (UTC+8), the following python code give me 22724
(python 2.6.5 or 3.1.2), but on people.apache.org

(python 2.6.4), I got
:22722:

from datetime import datetime;
dt = datetime.now() - datetime(2000, 1, 1, 0, 0, 0);
round((dt.days * 24 + dt.seconds / 3600) / 4)

or

from datetime import datetime;
dt = datetime.now(None) - datetime(2000, 1, 1, 0, 0, 0, 0, None);
round((dt.days * 24 + dt.seconds / 3600) / 4)

Is there anything wrong ?

Regards,
Dongsheng

Reply via email to