RE: Converting date

Barlow, Graham K (BarlowGK@bp.com)
Mon, 18 Jan 1999 10:50:06 -0000

Siegried,

`man amtime1970` will help:
amtime1970 (1M) - print current seconds since Jan. 1, 1970, or
convert between local time and seconds since Jan. 1, 1970.

for example:

xtp821:barlowgk [10:47] ~ 117 # amtime1970 -d 913371364
Fri Dec 11 10:16:04 1998

Graham

-- 
Dr Graham Barlow
BP Chemicals 100/04, Sunbury, TW16 7LN

> ---------- > From: S. M. Schoberth[SMTP:s.schoberth@kfa-juelich.de] > Sent: 18 January 1999 09:20 > To: bruker-users-mail@bloch.cchem.berkeley.edu > Cc: s.schoberth@fz-juelich.de > Subject: Converting date > > Dear BUMERs, > > does anybody know how to convert DATE in the > XWINNMR file acqus, such as > > ##$DATE= 913371364 > > into the more readable format > > 11.Dec.1998 11:16:04 > > using UNIX resources (SGI O2)? I can do it with > Microsoft Excel on the PC, but we would like to use > our UNIX machine directly. > > Siegfried Schoberth > > +----------------------------------- > | Siegfried M. Schoberth (PhD) > | Institute of Biotechnology 1 > | research Center Juelich (FZJ) > | D-52425 Juelich/Germany > | Voice: +49-2461-61-5568 > | Fax: +49-2461-61-3870 > | Email: s.schoberth@fz-juelich.de > +----------------------------------- > >