SQL Server Time Formats
Hello to everyone,
In this article, I will talk about time format changing operations in SQL Server.
Time format change is often used in SQL Server.
You can use the codes below to change the time format.
8 |
|
hh:mm:ss | 00:38:54 |
14 |
|
hh:mm:ss:nnn | 00:38:54:840 |
24 |
|
hh:mm:ss | 00:38:54 |
108 |
|
hh:mm:ss | 00:38:54 |
114 |
|
hh:mm:ss:nnn | 00:38:54:840 |
When you run the code, you will get a result like the one below.
As you can see, the time values have been changed in a formatted way.
Good luck to everyone in business and life