Ad
  • Custom User Avatar

    Using datetime can be problematic because it's the name of both the package and the class.
    I'd suggest you try:

    from datetime import datetime
    datetime.strftime(format)