[Tutor] Julian Calender

Marcel Preda marcel@punto.it
Thu, 5 Oct 2000 17:40:05 +0200 (CEST)


On Thu, 5 Oct 2000 FxItAL@aol.com wrote:

> Hello All,
> 
> Is it possible to convert two integers to a Julian Calender?
> ex. 10, 5 to 279
> 
> Thanks Al


>>> import time
>>> time.strftime("%j",time.localtime(time.time()));
'279'

current julian day

look at the `mktime' function in the same modul ,`time'
to create a date.

PM