Consulting

Results 1 to 2 of 2

Thread: Date Difference in Month

  1. #1
    VBAX Regular
    Joined
    Apr 2009
    Posts
    7
    Location

    Wink Date Difference in Month

    Hi All,

    I want to get the difference between two dates in the period of month.

    For Example i need difference between 16/09/2009 and 01/09/2010

    I used the datediff function (datediff("m","16/09/2009","01/09/2010"))

    it gives output as "4" can anyone help in this....


    Thanks in Advance

    Kumar

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try

    =DATEDIF("01/09/2009","16/09/2009","M")
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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