epoch time or calendar based date functions with standard UNIX co mmands

From: Lumpkin, Buddy (Buddy.Lumpkin@nordstrom.com)
Date: Wed Apr 10 2002 - 20:20:41 EDT


Hello All,

I have always used perl when I needed to do any kind of date math. After grabing the number of seconds since the epoch, it's simple to subtract or add ($days * 60 * 60 * 24).

Is there a UNIX command that will get the number of days since the epoch, or is there a command that will help with date arithmetic?

So far I know of gawk and perl (and obviously C) to do such things.

Thanks in advance,

--Buddy
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:11 EDT