Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 datetime

Author  Topic 

doran_doran
Posting Yak Master

179 Posts

Posted - 2008-07-14 : 15:41:06
2008-06-12 00:40:47.000

what is the 00 after the date. is it 24 or 12?

doran_doran
Posting Yak Master

179 Posts

Posted - 2008-07-14 : 15:59:53
Data in mysql reads 12:40:47.000 but 00:40:47.000 MSSQL. I just had to add if statement in my vb.net code to make sure i convert 00 to 12.

Thanks
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-07-15 : 03:41:04
quote:
Originally posted by doran_doran

Data in mysql reads 12:40:47.000 but 00:40:47.000 MSSQL. I just had to add if statement in my vb.net code to make sure i convert 00 to 12.

Thanks


Note that SQL Server displays the time part in 24 hour format by default

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -