<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">agree. That's valid even when you have to deal with different locale formats.<div><br></div><div><a href="http://twitter.com/sebastianconcpt">sebastian</a></div><div><a href="http://twitter.com/sebastianconcpt"></a><br><div><br></div><div><br><div><div>On Nov 15, 2010, at 5:15 AM, Johan Brichau wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>The best thing to do is to try to create a date object from it. If it fails, it's not a (correct) date.<br>How you do that depends on the Smalltalk you are using. Take a look at the Date or DateAndTime classes in your image.<br><br>cheers<br>Johan<br><br>On 15 Nov 2010, at 07:12, Jeff Gray wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Is there a method to check a text for being a date? Kind of like isNumber,<br></blockquote><blockquote type="cite">but for dates...<br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">View this message in context: <a href="http://forum.world.st/Validating-a-date-from-a-text-tp3042550p3042550.html">http://forum.world.st/Validating-a-date-from-a-text-tp3042550p3042550.html</a><br></blockquote><blockquote type="cite">Sent from the Seaside General mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">seaside mailing list<br></blockquote><blockquote type="cite"><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote><br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></blockquote></div><br></div></div></body></html>