comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » sky is falling, again ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
sky is falling, again ? [message #75620] Wed, 16 March 2011 06:52
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi folks,

I'm converting julian dates to text, using the calendar format. So,
for example:
time_text=2455636.937500d

PRINT, STRING(time_text,FORMAT='(C(CDI2.2,"/",CMOI2.2,"/",CYI,"
",CHI2.2,":",CMI2.2))')

CALDAT, time_text, mo, dd, yy, hh, mm
PRINT, STRTRIM(dd,2)+"/"+STRTRIM(mo,2)+"/"+STRTRIM(yy,2)+"
"+STRTRIM(hh,2)+":"+STRTRIM(mm,2)

16/03/2011 10:29
16/03/2011 10:30

Lol ! There is 1 minute difference !!!! Do you know why ?
Thank you in advance,
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: shape
Next Topic: Re: Non-blocking read

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:37:23 PDT 2025

Total time taken to generate the page: 0.00195 seconds