[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANSI C standard time
- Subject: Re: ANSI C standard time
- From: "R.Bauer" <R.Bauer(at)fz-juelich.de>
- Date: Wed, 03 Mar 1999 10:18:03 +0000
- Newsgroups: comp.lang.idl-pvwave
- Organization: Forschungszentrum Juelich
- References: <36DC75BC.81804D47@gte.net>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:13802
Lazzar wrote:
> Is anyone aware of a means of converting ANSI C standard time (the
> number of seconds since 00:00:00 1/1/70) to a real time and date in IDL?
>
If you convert them to Julian Seconds (the number of seconds since 00:00:00
1/1/2000)
using the Ray Sterner Library you have a lot of routines to format the time
e.g.
format='d$.nn$.y$!h$:m$:s$'
print,dt_tm_fromjs(js,form=format)
R.Bauer