Tag: Python : How to convert datetime object to string using datetime.strftime()
Python : How to convert datetime object to string using datetime.strftime()
In this article we will discuss how to convert a datetime class object to different string formats using datetime.strftime() function. datetime.strftime() Python’s datetime class provides a member function strftime() to create string representation of data in the object i.e. Advertisements datetime.strftime(Format_String) It accepts a format string as argument and converts the data in object to …
Python : How to convert datetime object to string using datetime.strftime()Read More