The datetime data types are DATE and TIMESTAMP. Oracle Database provides comprehensive time zone support for time stamps.
vmware certification training courses malaysia
DATE Data Type
The DATE data type stores date and time. Although datetimes can be represented in character or number data types, DATE has special associated properties.
visual studio net training courses malaysia
The database stores dates internally as numbers. Dates are stored in fixed-length fields of 7 bytes each, corresponding to century, year, month, day, hour, minute, and second.
microsoft system center certification training courses malaysia
Note
Dates fully support arithmetic operations, so you add to and subtract from dates just as you can with numbers.
The database displays dates according to the specified format model. A format model is a character literal that describes the format of a datetime in a character string. The standard date format is DD-MON-RR, which displays dates in the form 01-JAN-11.
RR is similar to YY (the last two digits of the year), but the century of the return value varies according to the specified two-digit year and the last two digits of the current year. Assume that in 1999 the database displays 01-JAN-11. If the date format uses RR, then 11 specifies 2011, whereas if the format uses YY, then 11 specifies 1911. You can change the default date format at both the database instance and session level.
Oracle Database stores time in 24-hour format—HH:MI:SS. If no time portion is entered, then by default the time in a date field is 00:00:00 A.M. In a time-only entry, the date portion defaults to the first day of the current month.
microsoft sql server certification training courses malaysia