I have a column with date format 2006-09-08 14:39:41.000
.
I want make a view using this column but I need the date to display in ISO 8601: yyyy-MM-ddThh:mm:ss.SSSZ
.
How can I convert it?
Conversion code for ISO 8601 is 126, you can use something like this:
SELECT CONVERT(VARCHAR, DateColumn, 126) FROM Table
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With