Python DateTime Format Using Strftime():

You'll learn to represent date and time in various formats in Python using the strftime() function of a datetime module and time module. For example, represent a date numerically in format, like “17-06-2021“ or textual string format like “Tuesday, 23 June 2021.”