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

Home » Public Forums » archive » UNIX time
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
UNIX time [message #42023] Tue, 14 December 2004 07:33
David Lopez Pons is currently offline  David Lopez Pons
Messages: 8
Registered: July 2003
Junior Member
Hi everybody.

I have some problems with date formats.
The function FILE_INFO returns me a structure containing access time,
creation time and modification time (and other fields...). Those dates
are given in UNIX time, but i need this information in julian time.

This is my solution:

result=FILE_INFO(file)
modification=julday(1,1,1970,0)+(result.mtime/60d/60d/24d)

...but I hope for somebody than knows any 'more elegant' way to do this.

Thanks.

DLo.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ENVI and ROIs
Next Topic: Re: UNIX time

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

Current Time: Fri Oct 10 13:21:13 PDT 2025

Total time taken to generate the page: 0.51471 seconds