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.
| Author |
Topic |
|
lovehui
Yak Posting Veteran
60 Posts |
Posted - 2009-08-13 : 09:22:46
|
| [code]SELECT dateadd(hh,12,datediff(dd,0,GETDATE()))[/code]Is it 12:00 am or pm?Thanks |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-08-13 : 09:27:29
|
That is 12 pm (one minute after 11:59 am, and one minute before 12:01 pm). N 56°04'39.26"E 12°55'05.63" |
 |
|
|
|
|
|