Date problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeep1234
    New Member
    • Jan 2008
    • 7

    Date problem

    How to add 3 month 4day and 5 minute on a specific date
    If any one know the query then please tell me
    Thank you
    sandeep kumar pradhan
    Bangalore
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Originally posted by sandeep1234
    How to add 3 month 4day and 5 minute on a specific date
    If any one know the query then please tell me
    Thank you
    sandeep kumar pradhan
    Bangalore

    adding 3 months, 4days, 5 mins to system date

    Code:
    select dateadd(mi,5,dateadd(day,4, dateadd(month, 3, getdate())))

    Comment

    Working...