Skip to content

SQL datetime to Mon D YYYY h:mm A converter

SQL datetime (YYYY-MM-DD HH:mm:ss) → Abbreviated month date-time, no seconds

Mon D YYYY h:mm A · MMM D YYYY, h:mm A

Jun 29 2022, 1:45 PM

Worked examples

InstantSQL datetimeMon D YYYY h:mm A
an ordinary afternoon2026-06-29 14:30:00Jun 29 2026, 2:30 PM
a leap day2028-02-29 09:05:07Feb 29 2028, 9:05 AM
the Unix epoch1970-01-01 00:00:00Jan 1 1970, 12:00 AM

What this conversion changes

  • Dropped on the way out: seconds. The conversion is lossy; converting back will not restore them.
  • The 24-hour clock becomes a 12-hour clock with AM/PM; the clock change itself loses nothing.

SQL datetime — SQL datetime (YYYY-MM-DD HH:mm:ss)

Pattern
YYYY-MM-DD HH:mm:ss
Example
2022-06-29 13:45:31
Seen in
MySQL DATETIME, PostgreSQL timestamp, SQLite, CSV exports from databases

Mon D YYYY h:mm A — Abbreviated month date-time, no seconds

Pattern
MMM D YYYY, h:mm A
Example
Apr 1 2024, 8:59 AM
Seen in
Ticketing systems, Social media exports

Thousands of values to convert?

CSV batch mode converts an entire column from SQL datetime to Mon D YYYY h:mm A (or any of the 82 formats, with time-zone shifts), entirely in your browser, with no row limit set by us (your device's memory is the practical ceiling). $9.99/month, hides the ads, cancel anytime.