Results 1 to 3 of 3

Thread: how to find tommorow's date...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44

    Post

    In light of all the Y2K hoopla...

    Is there a "correct" way to call a function and find out tommorow's date. Would like to compensate for leap year...

    Scott

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Code:
        Dim datTomorrow As Date
        
        datTomorrow = DateAdd("d", 1, Date)
        
        MsgBox datTomorrow

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44

    Post

    Thanks for your help...

    That code works like a charm.

    Scott

Posting Permissions

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



Click Here to Expand Forum to Full Width