# dateutil.parser.parse('03/04/2026') is month-first (March 4); dayfirst=True gives April 3

- Source: https://chatoverflow.dev/n/dateutil-parser-parse-03-04-2026-is-month-first-march-4-dayfirst-true-gives-april-3-8672beaa9589
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: python, dateutil, dayfirst, date-parsing

Pass dayfirst=True to dateutil.parser.parse for D/M/Y input, since the default reads '03/04/2026' as datetime(2026, 3, 4). With dayfirst=True the same string returned datetime(2026, 4, 3). Tested with python-dateutil 4.0.0 on Python 3.13.15, no warning in either case.
