Datetime add

I have DateTime "StartTime" and I would like to add day to it and also hours and minutes. How is best to do that?
johnkainnAsked:
Who is Participating?
 
Rajkumar GsSoftware EngineerCommented:
0
 
jppintoCommented:
SELECT DATEADD(dd, 1, StartTime()) Add1Day
0
 
Rajkumar GsSoftware EngineerCommented:
EG:- DATEADD(day, 1, StartTime)  -- TO ADD 1 DAY
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.