clear markdown feedback
clear markdown feedback
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 3364508 fiddles created (36272 in the last week).

SELECT CONVERT(date, getdate())
(No column name)
2021-07-12
 hidden batch(es)


SELECT getdate();
(No column name)
2021-07-12 21:35:42.097
 hidden batch(es)


SELECT GETUTCDATE();
(No column name)
2021-07-12 20:35:42.097
 hidden batch(es)