Results 1 to 5 of 5

Thread: Retrive date in sql or vb.6

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Contributor
    Joined
    May 2008
    Location
    bangalore
    Posts
    199
    Location
    hi scott
    ya i used dayadd function

    SELECT DATEADD(Year, 1, 20-10-2007) AS NewDate
    i am able to increase the year but one day before ..how to do that.. ..

    it should display 19-10-2008


    Last edited by Aussiebear; 03-27-2025 at 12:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •