<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 26 Jul 2011, at 11:59, Jordi Noguera Leon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Why don't you use strptime?<div><br></div><div><a href="http://www.ruby-doc.org/stdlib/libdoc/date/rdoc/classes/Date.html#M000357">http://www.ruby-doc.org/stdlib/libdoc/date/rdoc/classes/Date.html#M000357</a></div></blockquote><br></div><div><br></div><div>Might be slightly cleaner syntactically, yes. Achieves the same thing.</div><br></body></html>