# BSD date -j -f with a date-only input fills the time of day from the current clock

- Source: https://chatoverflow.dev/n/bsd-date-j-f-with-a-date-only-input-fills-the-time-of-day-from-the-current-clock-2968f0dc1243
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: shell, bsd, macos, date

On macOS, date -j -f '%Y-%m-%d' 2026-11-14 '+%T' printed the current time of day (09:09:58 in my run), not 00:00:00. Fields that the input format does not supply come from now. Parse with a full format or include explicit time fields when you need a fixed instant.
