Full date in Python strftime()
A spelled-out date such as “Thursday, June 18, 2026”.
Format string
%A, %B %d, %Y
Example output
Thursday, June 18, 2026
Edit this format in the live tester →
In Python
from datetime import datetime
dt = datetime(2026, 6, 18, 13, 45, 30)
dt.strftime("%A, %B %d, %Y")
# => "Thursday, June 18, 2026"
Directives used
| %A | Full weekday name in the current locale. | Thursday |
| %B | Full month name in the current locale. | June |
| %d | Day of the month, zero-padded (01–31). | 18 |
| %Y | Year with century as a decimal number. | 2026 |