7. Date Objects

NOTE: This object is an extension the DB API. It is returned whenever Oracle date and timestamp (in Oracle 9i) columns are fetched and whenever the constructor methods (Date(), Time(), Timestamp()) are called.

year
This read-only attribute returns the year.

month
This read-only attribute returns the month.

day
This read-only attribute returns the day.

hour
This read-only attribute returns the hour.

minute
This read-only attribute returns the minute.

second
This read-only attribute returns the second.

fsecond
This read-only attribute returns the fractional second.