Re: [Veritas-bu] date calculator
2008-01-22 18:01:11
----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu]On Behalf Of Stump,
Bob A
Sent: Tuesday, January 22, 2008 4:16 PM
To: veritas-bu
Subject: [Veritas-bu] date calculator
Does anyone know how I can recalculate what a date would be if I added 558
days to it?
For instance, what date would it be 558 days after July 7, 2008?
On a Solaris 9 master server (no "date -d", no stat command, *with* bpdbm
;-), Eastern time:
# truss -v stat touch -t 200807070000 foo 2>&1 | grep at | tail -1 | awk
'{ print $9 }'
1215403200
# expr 558 \* 86400
48211200
# expr 1215403200 + 48211200
1263614400
# bpdbm -ctime 1263614400
1263614400 = Fri Jan 15 23:00:00 2010
HTH,
Ron
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] UNIX doesn't like windows "space", (continued)
- [Veritas-bu] UNIX doesn't like windows "space", Stump, Bob A
- Re: [Veritas-bu] UNIX doesn't like windows "space", Ed Wilts
- Re: [Veritas-bu] UNIX doesn't like windows "space", Stump, Bob A
- Message not available
- [Veritas-bu] date calculator, Stump, Bob A
- Re: [Veritas-bu] date calculator, Jeff Lightner
- Re: [Veritas-bu] date calculator, Martin, Jonathan
- Re: [Veritas-bu] date calculator, Ed Wilts
- Re: [Veritas-bu] date calculator, Jeff Lightner
- Re: [Veritas-bu] date calculator, Mark.Donaldson
- Re: [Veritas-bu] date calculator, Randy Samora
- Re: [Veritas-bu] date calculator,
Ron Jack (Systems Network) <=
- Re: [Veritas-bu] date calculator, Jeff Lightner
- Re: [Veritas-bu] date calculator, Jeff Lightner
- Re: [Veritas-bu] date calculator, Conner, Neil
- Re: [Veritas-bu] date calculator, Steve Fogarty
- Re: [Veritas-bu] date calculator, Steve Fogarty
Re: [Veritas-bu] Error code 233 premature eof encountered, ssloh
Re: [Veritas-bu] Error code 233 premature eof encountered, ssloh
Re: [Veritas-bu] Error code 233 premature eof encountered, ssloh
|
|
|