Quantcast
Channel: Python: Parse ISO 8601 date and time from a string (using the standard modules) - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Kimvais for Python: Parse ISO 8601 date and time from a string...

No need for a regexp, use datetime.datetime.strptime() instead.

View Article



Python: Parse ISO 8601 date and time from a string (using the standard modules)

I want to parse the date for entries given by SVN:svn list --xml https://subversion:8765/svn/Foo/tags/If I am not mistaken it is given using the ISO 8601 standard. An example is:dateString =...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images