strptime for different languages

Ulrich Goebel ml at fam-goebel.de
Tue Dec 17 11:47:26 EST 2019


That's absolutely great, thank You!

Am 17.12.19 um 11:53 schrieb Jon Ribbens via Python-list:
> On 2019-12-17, Ulrich Goebel <ml at fam-goebel.de> wrote:
>> I need to interpret a date string to get a datetime object. That should
>> be done with strptime from the module datetime.
>>
>> But I don't know enough about the locale settings from where the date
>> sting comes. Actually the date_string cames from different contact forms
>> inside websites made by different content management systems. So it could be
>>     13. Januar 1965
>>     13. January 1965
>>     13.01.1965
>>     1965-01-13
> 
> https://pypi.org/project/dateparser/
> 

-- 
Ulrich Goebel
Am Büchel 57, 53173 Bonn


More information about the Python-list mailing list