1847587 Members
4174 Online
110265 Solutions
New Discussion

epoch date

 
SOLVED
Go to solution
Craig Rants
Honored Contributor

epoch date

I want to get the current epoch date, and place that into a variable, anyone know a command to do that?

Thanks.

Craig
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
5 REPLIES 5
Steve Steel
Honored Contributor

Re: epoch date

Hi


See
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d9b03bbece8d5118ff40090279cd0f9,00.html


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Helen French
Honored Contributor

Re: epoch date

Helen French
Honored Contributor

Re: epoch date

Hi Craig,

Also this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d9b03bbece8d5118ff40090279cd0f9,00.html

HTH,
Shiju

Life is a promise, fulfill it!
Robin Wakefield
Honored Contributor
Solution

Re: epoch date

Hi Craig,

VAR=`perl -e "print time"`

should do it.

Rgds, Robin.
Craig Rants
Honored Contributor

Re: epoch date

Thanks, I used Robin's post it was easy...
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut