Results 1 to 3 of 3
  1. #1
    dakpluto is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2012
    Posts
    18

    Post Future date, skipping Sunday and Monday

    I'm trying to setup a box that will display a future date for transactions. For the most part it's just "tomorrow's date" but =now()+1 won't work. Problem is, I need the future date to skip ahead 2 days when today is Sunday. As in the following:

    Sun shows Tuesday date
    Monday shows Tuesday date
    Tuesday shows Wednesday date


    etc etc

    Thanks for any help you can provide.

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Try this:

    Code:
    =iif(Weekday(Date())=1,Date()+2,Date()+1)

  3. #3
    dakpluto is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2012
    Posts
    18
    Quote Originally Posted by alansidman View Post
    Try this:

    Code:
    =iif(Weekday(Date())=1,Date()+2,Date()+1)
    worked great! Thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Count Sunday & Saturday between two days.
    By kashif.special2005 in forum Queries
    Replies: 2
    Last Post: 02-23-2012, 06:19 PM
  2. Replies: 3
    Last Post: 11-22-2011, 11:06 AM
  3. Parameter Date - Force a Monday Date
    By ker9 in forum Queries
    Replies: 3
    Last Post: 07-26-2011, 01:06 PM
  4. Replies: 4
    Last Post: 10-27-2010, 02:57 PM
  5. Future date parameter
    By normie in forum Queries
    Replies: 10
    Last Post: 08-12-2010, 09:38 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
  •  
Other Forums: Microsoft Office Forums