[Seaside] Validating a date from a text
sebastian at flowingconcept.com
Mon Nov 15 17:06:08 UTC 2010
agree. That's valid even when you have to deal with different locale formats.
On Nov 15, 2010, at 5:15 AM, Johan Brichau wrote:
> The best thing to do is to try to create a date object from it. If it fails, it's not a (correct) date.
> How you do that depends on the Smalltalk you are using. Take a look at the Date or DateAndTime classes in your image.
> On 15 Nov 2010, at 07:12, Jeff Gray wrote:
>> Is there a method to check a text for being a date? Kind of like isNumber,
>> but for dates...
>> View this message in context: http://forum.world.st/Validating-a-date-from-a-text-tp3042550p3042550.html
>> Sent from the Seaside General mailing list archive at Nabble.com.
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside