# How to Compare Dates in Oracle

Let's take an overview of the Oracle date data types and see how to compare dates using the TO\_DATE() function, the TRUNC() function, or a date/timestamp literal. The article also describes how to change the date format using the ALTER SESSION statement - [https://www.devart.com/dbforge/oracle/studio/comparing-dates-oracle.html](https://www.devart.com/dbforge/oracle/studio/comparing-dates-oracle.html)
