Oracle Dates and Times

Steve Simon


Figure 1. Excerpt from website

I’m working with R and SQL. Some of the work uses SQLite, and some of the work uses Oracle. There are subtle differences between the two, and for that matter between any two database programs. While there are SQL standards, most packages have minor deviations or enhancements. Dates in Oracle represent one deviation. In particular, Oracle does not use the ISO 8601 standard date format (yyyy-mm-dd) by default. Here’s a nice overview of how to work with Oracle dates.

Kristian Widjaja, Jun Yang, Jeff Ullman. Oracle Dates and Times. Available in html format.

You can find an earlier version of this page on my blog.