Text to dates

Does anyone have any standard functions they use to input and create
dates and times from a text field?

A bit like the Add Event on Basecamp’s calendar…
http://www.37signals.com/svn/archives2/the_long_road_to_simple_creating_debating_and_iterating_add_an_event.php

Or perhaps seen examples elsewhere on the web of date parsing using
regular expressions?

Cheers for any guidance you can give!

Andy C.
http://www.deepcalm.com

Andy C. wrote:

Does anyone have any standard functions they use to input and create
dates and times from a text field?

Have you tried chronic?

Eric

That looks like just the thing! Thanks Eric!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs