There isn't really a default date format for the product, the reference guide states that the default for NLS_DATE_FORMAT
at system level is based on NLS_TERRITORY
. Though this says the 'standard' is `DD-MON-RR', and I think that's what you get if you don't specify a value at database level, at least on the platforms I've worked on.
When you create a new database the initialisation parameters can include a specific NLS_DATE_FORMAT
, and that can be changed later too.
But the system-level NLS_DATE_FORMAT
can be overridden by the client, the session, or in a TO_CHAR
call. You can look in v$nls_parameters
to see the system value, and nls_session_parameters
to see your current session value. You can change that with alter session
if you want to.
I'm pretty sure you'll find that PL/SQL Developer is setting the session NLS_DATE_FORMAT
to MM/DD/YYYY
somewhere in its preferences.
Generally it's better to not rely on that value at all, and always use an explicit format mask for display, e.g. TO_CHAR(<column>, 'YYYY-MM-DD HH24:MI:SS')
.
There's more on NLS_DATE_FORMAT
in the globalisation guide here and here; and a bit about date display here; and an overview of the date format model elements here