Skip to content

Database.Guide

conversion functions

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

NUMTOYMINTERVAL() Function in Oracle

September 5, 2021August 20, 2021 by Ian

In Oracle Database, the NUMTOYMINTERVAL() function converts a number to an INTERVAL YEAR TO MONTH literal.

Read more

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

NUMTODSINTERVAL() Function in Oracle

September 5, 2021August 20, 2021 by Ian

In Oracle Database, the NUMTODSINTERVAL() function converts a number to an INTERVAL DAY TO SECOND literal.

Read more

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

TO_CHAR(datetime) Function in Oracle

September 5, 2021August 18, 2021 by Ian

In Oracle Database, the TO_CHAR(datetime) function converts a datetime or interval value to a VARCHAR2 value in the format specified by the date format.

Read more

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

How TO_CHAR() Works in MariaDB

September 5, 2021June 17, 2021 by Ian

In MariaDB, TO_CHAR() is a built-in string function that converts a date/time expression to a string.

The expression can be a date, datetime, time, or timestamp value.

This function was introduced in MariaDB 10.6.1 to enhance Oracle compatibility.

Read more

Categories MariaDB Tags conversion functions, functions, string functions, what is

How TO_SECONDS() Works in MariaDB

September 5, 2021June 1, 2021 by Ian

In MariaDB, TO_SECONDS() is a built-in date and time function that returns the number of seconds from year 0 to the given date or datetime expression.

Read more

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

How TIME_TO_SEC() Works in MariaDB

September 5, 2021June 1, 2021 by Ian

In MariaDB, TIME_TO_SEC() is a built-in date and time function that returns its time argument, converted to seconds.

Read more

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

How STR_TO_DATE() Works in MariaDB

September 5, 2021May 27, 2021 by Ian

In MariaDB, STR_TO_DATE() is a built-in date and time function that returns a datetime value, based on the given date string and format string.

The STR_TO_DATE() function is the inverse of the DATE_FORMAT() function.

Read more

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

How SEC_TO_TIME() Works in MariaDB

September 5, 2021May 26, 2021 by Ian

In MariaDB, SEC_TO_TIME() is a built-in date and time function that returns a time value, based on the number of seconds provided as arguments.

Read more

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

How TO_DAYS() Works in MariaDB

September 5, 2021May 23, 2021 by Ian

In MariaDB, TO_DAYS() is a built-in date and time function that returns the number of days from the start of the standard calendar (0000-00-00), based on a given date.

You pass the date to the function when you call it.

The TO_DAYS() function is the converse of the FROM_DAYS() function.

Read more

Categories MariaDB Tags conversion functions, date functions, functions, what is
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page10 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved