While exploring the new function FORMAT
I have come across the following issue, would like to know if any one else has faced a similar problem and found the fix for this, or if it is a bug?
SELECT FORMAT(GETDATE(),'mm/dd/yyyy','en-US');
SELECT GETDATE();
Output:
- 02/02/2013
- 2013-06-02 12:02:54.067