|
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
Term: TIMESTAMP
Definition: SELECT CAST(date1 AS TIMESTAMP) "Date" FROM t; Calculating the time difference between two TIMESTAMP datatypes is very straightforward- you just do straight subtraction of the two timestamp values. When doing subtraction between dates, remember that the result is a value that represents the number of days. Multiply that number by the number of seconds in a day (86400) to determine the interval or value that you want to find. For more detailed information on dates and timestamps, please see the Related Links below.
Related Links: Related Code Snippets:
|
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2024 psoug.org |