How to get timestamp from a string? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to get timestamp from a string?

How can I get year and month or timestamp from a long string using python?

15th Apr 2020, 8:27 PM
Abhishek Kumar
Abhishek Kumar - avatar
2 Antworten
+ 3
That depends on the format of the string.
15th Apr 2020, 9:24 PM
inxanedev!
inxanedev! - avatar
+ 1
I think using regular expressions would help
15th Apr 2020, 9:06 PM
Justus
Justus - avatar