Date.strptime("{ 2009, 4, 15 }", "{ %Y, %m, %d }")
http://stackoverflow.com/questions/2720907/ruby-convert-string-to-date
No comments:
Post a Comment