HomeCommon › Full date

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

%AFull weekday name in the current locale.Thursday
%BFull month name in the current locale.June
%dDay of the month, zero-padded (01–31).18
%YYear with century as a decimal number.2026

Related formats