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 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-05-11 : 05:53:49
|
| how can i get my date minus 15 minutes in sql?is there a dateadd function? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-05-11 : 06:03:57
|
| Yup. There is. Did you have a look at books online?The function is DATEADD and you can get it like thisSELECT DATEADD(mi,-15,Yourdatecolumn) FROM YourTable |
 |
|
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-05-11 : 06:05:42
|
| found it dateadd |
 |
|
|
|
|
|