In this tutorial, we will learn how to extract dates and times from raw strings. Extracting helpful information like dates is very useful while parsing raw texts such as logs. You can also use an IDE for writing the code. Here, I am using the open-source VS Code IDE provided by Microsoft. VS Code is a cross-platform IDE. We can use it on any platform like Windows, Linux, or macOS.