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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -