SyntaxFix
Write A Post
Hire A Developer
Questions
select REPLACE(CONVERT(VARCHAR, FORMAT(GETDATE(), N'dd/MM/yyyy hh:mm:ss tt')),'.', '/')
will give 05/05/2020 10:41:05 AM as a result
05/05/2020 10:41:05 AM