sqlserver date format as persian date

علی ذوالفقار
1402/05/24 08:22:17 (120)
get date as persian date if support on windows (the server which sql-server is installed) : 
SELECT FORMAT(GETDATE(), N'yyyy/MM/dd-HH:mm:ss', N'fa')

Back