From: Don S. <do...@se...> - 2003-03-24 23:13:51
|
Is there not a standard function to compare two dates? Something link Date_Cmp in perl? If not, can we come up with one that is agreeable and put it in core/DateTime.php ? Basically a function that takes two date parameters (timestamps?), and returns -1 if param A is less than param B, 0 if they are equal, and 1 if param A is greater than param B. Any thoughts? Don. |