Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Nov 2002
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Calculating number of days between dates (Access 2000)

    If I have the start date and the end date, how would I calculate the number of days in between, not counting the end date as a day

  2. #2
    Lounger
    Join Date
    May 2002
    Location
    Wytheville,VA, Virginia, USA
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Calculating number of days between dates (Access 2000)

    I'm not sure about Access2K, but it *should* work like A97. Try this:

    datediff("d",startdate,enddate) for days

    datediff("w",startdate,enddate) for weekdays (m-f)

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Calculating number of days between dates (Access 2000)

    Chico's suggestion should work. Or, since dates are stored as a number of days (since December 31, 1899), you can simply subtract them: [End Date] - [Start Date]

Posting Permissions

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