Comparing two date strings: any easy way?

From: Zaigui Wang (zaigui@yahoo.com)
Date: Mon Jan 06 2003 - 18:46:25 EST


I need a quick and easy way (perl one-liner, shell
built-in, etc) to compare two date strings, such as:

Tue Nov 19 08:56:06 PST 2002
Mon Jan 6 15:43:59 PST 2003

Possibly also how many days (roughly) they are apart.

Any suggestions?

TIA

Zaigui
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
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:25:32 EDT