Google Answers Logo
View Question
Q: Calculate the epoch time ( No Answer,   2 Comments )
Subject: Calculate the epoch time
Category: Computers > Algorithms
Asked by: noelzilla-ga
List Price: $10.00
Posted: 14 Aug 2006 08:22 PDT
Expires: 13 Sep 2006 08:22 PDT
Question ID: 755826
I'd like an alorithm for converting to and from the epoch time, that I
can use in an UNIX shell script.
There is no answer at this time.

Subject: Re: Calculate the epoch time
From: frankcorrao-ga on 14 Aug 2006 10:09 PDT
I assume that you mean that you have seconds since the epoch.  But
what is the format you want to convert it to?  Or what format do  you
want to convert to seconds since the epoch?
Subject: Re: Calculate the epoch time
From: frankcorrao-ga on 14 Aug 2006 10:35 PDT
I can tell you that probably anything you want to do is possible
through the date command and a little arithmetic.  Give me an example
and I can show you how to do it.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy