In Oracle Database, the TO_TIMESTAMP()
function converts its argument to a value of TIMESTAMP
data type.
Tag: conversion functions
TO_TIMESTAMP_TZ() Function in Oracle
In Oracle Database, the TO_TIMESTAMP_TZ()
function converts its argument to a value of TIMESTAMP WITH TIME ZONE
data type.
TO_DSINTERVAL() Function in Oracle
In Oracle Database, the TO_DSINTERVAL()
function converts its argument to a value of INTERVAL DAY TO SECOND
data type.
NUMTOYMINTERVAL() Function in Oracle
In Oracle Database, the NUMTOYMINTERVAL()
function converts a number to an INTERVAL YEAR TO MONTH
literal.
NUMTODSINTERVAL() Function in Oracle
In Oracle Database, the NUMTODSINTERVAL()
function converts a number to an INTERVAL DAY TO SECOND
literal.
TO_CHAR(datetime) Function in Oracle
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.
How TO_CHAR() Works in MariaDB
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.
Continue readingHow TO_SECONDS() Works in MariaDB
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.
How TIME_TO_SEC() Works in MariaDB
In MariaDB, TIME_TO_SEC()
is a built-in date and time function that returns its time argument, converted to seconds.
How STR_TO_DATE() Works in MariaDB
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.