[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HELP with systime()
- To: Mark Elliott <mark(at)mail.mmrrcc.upenn.edu>
- Subject: Re: HELP with systime()
- From: Liam Gumley <Liam.Gumley(at)ssec.wisc.edu>
- Date: Wed, 11 Feb 1998 14:24:27 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Wisconsin, Madison
- References: <34E1D627.41C6@mail.mmrrcc.upenn.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:10058
Mark Elliott wrote:
>
> Is there a way to convert a binary time value like the one
> returned by
>
> timeval = systime(1)
>
> into a date string like
>
> DOW MON DD HH:MM:SS YEAR ?
>
> I've found bin_date() but it accepts only the ascii_time format
> for input. I'd like to convert the number of seconds since 1/1/1970 into
> the month,day,year,... that it corresponds to.
http://fermi.jhuapl.edu/s1r/idl/s1rlib/time/time.html
is very useful and informative for this purpose.
Cheers,
Liam.