w3resource

Python: strftime()

strftime()

The strftime() function returns a string representing the date, controlled by an explicit format string. Format codes referring to hours, minutes or seconds will see 0 values.

Syntax:

date.strftime(format)

Complete list of formatting with examples:


Download the Notebook from here.

Test your Python skills with w3resource's quiz



Follow us on Facebook and Twitter for latest update.





pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy