Consulting

Results 1 to 4 of 4

Thread: Solved: How to get the number of days between two dates

  1. #1
    VBAX Mentor
    Joined
    Oct 2007
    Posts
    357
    Location

    Solved: How to get the number of days between two dates

    I want to calculate the number of days between two provided days.

    Can anyone pls let me know how to do that.


  2. #2
    VBAX Tutor
    Joined
    Aug 2007
    Posts
    273
    Location
    excel treat all dates as the number of days sence 1/1/1900, and all times are treated as decmels of this number. so noon today would be 39391.5. so all you have to do is take one date and subtract the other and you will get the resulting number of days. just be carful of formating. if you want to see the number of days you need to set the cell to number or general formating.

  3. #3
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location
    All you do is subtract the dates from each other, you will then get the results. However, you need to format that cell as to be a number format. Goto FORMAT - CELLS. In the Category, select number.

  4. #4
    VBAX Mentor
    Joined
    Oct 2007
    Posts
    357
    Location
    Thanks Guys

Posting Permissions

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