HomeDocs › %A

Python strftime directive %A

Full weekday name in the current locale.

Example (from datetime(2026, 6, 18, 13, 45, 30))
Thursday
Output depends on the active locale. This page shows the C/English value; switch locales in the tester to see others.

In Python

from datetime import datetime
dt = datetime(2026, 6, 18, 13, 45, 30)
dt.strftime("%A")
# => "Thursday"

Parsing with strptime

Parses a full weekday name (locale-dependent). See strptime.dev for the parsing side.

Try %A in the live tester →

Other Weekday directives