Skip to content

Database.Guide

date functions

DBTIMEZONE Function in Oracle

August 12, 2021 by Ian

In Oracle Database, the DBTIMEZONE function returns the value of the database time zone.

Read more

Categories Oracle Tags date functions, functions, what is

ADD_MONTHS() Function in Oracle

August 11, 2021 by Ian

In Oracle Database, the ADD_MONTHS() function adds a given number of months to a date, and returns the result.

Read more

Categories Oracle Tags date functions, functions, what is

CURRENT_DATE Function in Oracle

August 10, 2021 by Ian

In Oracle Database, the CURRENT_DATE function returns the current date in the session time zone, in a value in the Gregorian calendar of data type DATE.

Read more

Categories Oracle Tags date functions, functions, what is

CURRENT_TIMESTAMP() Function in Oracle

August 9, 2021 by Ian

In Oracle Database, the CURRENT_TIMESTAMP() function returns the current date and time in the session time zone, in a value of data type TIMESTAMP WITH TIME ZONE.

It’s similar to LOCALTIMESTAMP, except that LOCALTIMESTAMP returns a TIMESTAMP value.

Read more

Categories Oracle Tags date functions, functions, what is

LOCALTIMESTAMP() Function in Oracle

August 9, 2021 by Ian

In Oracle Database, the LOCALTIMESTAMP() function returns the current date and time in the session time zone in a value of data type TIMESTAMP. 

It’s similar to CURRENT_TIMESTAMP, except that CURRENT_TIMESTAMP returns a TIMESTAMP WITH TIME ZONE value.

Read more

Categories Oracle Tags date functions, functions, what is

SYSTIMESTAMP Function in Oracle

August 9, 2021 by Ian

In Oracle Database, the SYSTIMESTAMP function returns the system date, including fractional seconds and time zone, of the system on which the database resides.

The returned value is of type TIMESTAMP WITH TIME ZONE. 

Read more

Categories Oracle Tags date functions, functions, what is

SYSDATE Function in Oracle

August 8, 2021 by Ian

In Oracle Database, the SYSDATE function returns the current date and time set for the operating system on which the database server resides.

The returned value is of type DATE. 

Read more

Categories Oracle Tags date functions, functions, what is

EXTRACT (datetime) Function in Oracle

August 8, 2021 by Ian

In Oracle Database, the EXTRACT(datetime) function extracts and returns the value of a specified datetime field from a datetime or interval expression.

Read more

Categories Oracle Tags date functions, functions, what is

Change the Time Zone Offset on a datetimeoffset Value in SQL Server (T-SQL)

December 8, 2025July 28, 2021 by Ian

You can use the SWITCHOFFSET() function in SQL Server to change the time zone offset on a datetimeoffset value.

The function accepts two arguments; a datetimeoffset(n) value (or an expression that can be resolved to a datetimeoffset(n) value), and the new time zone.

Read more

Categories SQL Server Tags date functions, dates, how to, mssql, t-sql

MariaDB Date & Time Functions (Full List)

June 22, 2021 by Ian

This article contains a full list of built-in MariaDB date and time functions.

Read more

Categories MariaDB Tags date functions, functions, reference
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … Page32 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved