Answers for "date time to date sql"

SQL
2

sql datetime as date

SELECT 
    CONVERT(DATE, GETDATE()) date;
Posted by: Guest on August-20-2020
0

sql convert unix time to date

select FROM_UNIXTIME(UNIX_TIMESTAMP(),'%a %b %d %H:%i:%s UTC %Y');
Posted by: Guest on July-16-2020
0

sql day from datetime

SET @@lc_time_names = 'fr_FR';
SELECT DAYNAME('2000-01-01') dayname;
+---------+
| dayname |
+---------+
| samedi  |
+---------+
Posted by: Guest on January-11-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language