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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -