Felix Geerinckx wrote:
> on Wed, 28 Aug 2002 16:02:00 GMT, Sean Rowe wrote:
> 
> 
>>I have a date/timestamp value that I need to check against another
>>date/timestamp value for >, >=, <=, <, or =.  Is there already a
>>function that will do this, or do I need to write one?  Thanks.
> 
> 
> This depends entirely on the format of the date/timestamp.
> 
> If it is seconds since epoch, you can use the spaceship operator '<=>'.
> If it is a string of the form 'yyyymmddhhmmss' you can use the string 
> compare operator 'cmp'.
> If it is something else... why don't you tell us the format?
> 

Or check out Date::Manip or Date::Calc........


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to