not on linux or solaris :( :

linux:
jpburton@wave: [10:51] [~]> date -r 1017708708
date: 1017708708: No such file or directory

solaris:
jpburton@blade: [10:52] [~]> date -r 1017708708
date: illegal option -- r
usage:  date [-u] mmddHHMM[[cc]yy][.SS]
        date [-u] [+format]
        date -a [-]sss[.fff]

that seems to be a bsd option (very frustrating at times too!).. :(

On Sun, Mar 31, 2002 at 11:31:59PM -0800, Steve Brown wrote:
> Well, if by unix timestamp you mean seconds past the epoch, just call
> 
>       date -r [timestamp]
> 
> and the output will be a real date. You can adjust the format as necessary
> using plain old date formatting I believe. YMMV depending upon your OS
> 
> Steve Brown
> 
> >  -----Original Message-----
> > From:       [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] 
> > Sent:       Sunday, March 31, 2002 9:27 PM
> > To: [EMAIL PROTECTED]
> > Subject:    (RADIATOR) Timestamps
> > 
> > Does anyone know where I can find a perl script, or something that can
> > convert Unix timestamps to normal date format?  I know it is possible, but
> > I do not know where to start looking.
> > 
> > 
> > Stephen Malenshek
> > President/CEO
> > Valuelinx Corporation
> > [EMAIL PROTECTED]
> > 
> > 



-- 
Jeremy Burton
Database Administrator, Netspace Online Systems
[EMAIL PROTECTED]
[EMAIL PROTECTED]
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to