-
Oracle Datefunctions
Alongside numerical values and character strings, the commonly used data type ‘date’ exists for handling dates and timestamps. The date can be processed with millisecond precision. Below, I have listed the Oracle date functions for date calculations, which I frequently use. Formatting mask The Oracle functions for date calculation and conversion sometimes require a formatting…
-
Java date formatting with SimpleDateFormat
Date formatting in Java can be done in different ways. A fairly simple option is to use the SimpleDateFormat formatting class. This class allows you to format output appropriately and parse input correctly. Below I have put together some small examples of formatting dates and times in Java applications. Output current Date The following short…