Date formatting a Ruby date from a .NET Webservice -


i have date coming through .net webservice rails app:

2011-05-09t10:57:00+01:00 

what date format can use date.strptime give me reliable way of extracting date?

date , datetime can handle natively:

datetime.parse "2011-05-09t10:57:00+01:00" # => mon, 09 may 2011 10:57:00 +0100 

Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -