EpochLab

Oracle Date Converter

Read an Oracle DATE

The seven-byte internal form, decoded — century and year stored excess-100, everything else plus one — plus the Julian day that `TO_CHAR(d,'J')` gives you.

Questions people ask

The things that come up about oracle date converters, answered plainly.

What do the seven bytes mean?

Century + 100, year-in-century + 100, month, day, hour + 1, minute + 1, second + 1. So 16 July 2024 at 16:00:00 dumps as 120,124,7,16,17,1,1. The offsets exist so no byte is ever zero.

Why does Oracle display dates as DD-MON-YY?

Because NLS_DATE_FORMAT defaults to it. It is a two-digit year in an ambiguous format, which is a genuinely poor default — set it to YYYY-MM-DD HH24:MI:SS in any session you care about.

Related tools

Julian days, Excel serials, GPS time, cron expressions and format validators.

All 160 tools · More in converters & validators