Skip to content

Database.Guide

date functions

WEEKDAY() vs DAYOFWEEK() in MariaDB: What’s the Difference?

August 30, 2021 by Ian

MariaDB provides a WEEKDAY() function and a DAYOFWEEK() function, both of which return the day of the week, represented as a number.

But the number returned is different between these functions.

This post looks at the difference.

Read more

Categories MariaDB Tags date functions, functions

2 Ways to Get the Day from a Date in Oracle

August 26, 2021 by Ian

Below are two functions that can be used to return the day from a date in Oracle Database.

Read more

Categories Oracle Tags date format, date functions, dates, how to

Oracle Datetime Functions (Full List)

August 25, 2021 by Ian

Below is a full list of datetime functions available in Oracle Database.

Read more

Categories Oracle Tags date functions, reference

TRUNC(date) Function in Oracle

August 25, 2021 by Ian

In Oracle Database, the TRUNC(date) function returns the given date value with the time portion of the day truncated to the unit provided in the specified format model.

Oracle also has a TRUNC(number) syntax, which is used on numbers. This article is solely about the TRUNC(date) syntax, which is used on dates.

Read more

Categories Oracle Tags date functions, functions, what is

TO_YMINTERVAL() Function in Oracle

September 5, 2021August 24, 2021 by Ian

In Oracle Database, the TO_YMINTERVAL() function converts its argument to a value of INTERVAL MONTH TO YEAR data type.

Read more

Categories Oracle Tags conversion functions, date functions, functions, what is

SYS_EXTRACT_UTC() Function in Oracle

August 24, 2021 by Ian

In Oracle Database, the SYS_EXTRACT_UTC() function extracts the UTC (Coordinated Universal Time) from a datetime value with time zone offset or time zone region name.

Read more

Categories Oracle Tags date functions, functions, what is

TO_TIMESTAMP() Function in Oracle

September 5, 2021August 22, 2021 by Ian

In Oracle Database, the TO_TIMESTAMP() function converts its argument to a value of TIMESTAMP data type.

Read more

Categories Oracle Tags conversion functions, date functions, functions, what is

TO_TIMESTAMP_TZ() Function in Oracle

September 5, 2021August 22, 2021 by Ian

In Oracle Database, the TO_TIMESTAMP_TZ() function converts its argument to a value of TIMESTAMP WITH TIME ZONE data type.

Read more

Categories Oracle Tags conversion functions, date functions, functions, what is

TO_DSINTERVAL() Function in Oracle

September 5, 2021August 21, 2021 by Ian

In Oracle Database, the TO_DSINTERVAL() function converts its argument to a value of INTERVAL DAY TO SECOND data type.

Read more

Categories Oracle Tags conversion functions, date functions, functions, what is

TZ_OFFSET() Function in Oracle

August 20, 2021 by Ian

In Oracle Database, the TZ_OFFSET() function returns the time zone offset corresponding to the argument based on the date the statement is executed.

Read more

Categories Oracle Tags date functions, functions, what is
Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 … Page32 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved