Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jun 2001
    Location
    Kenton, Delaware, USA
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DateDif Function (2000)

    I am trying to subtract in minutes one time from another with the abilty see negative results as well. Every where I look the DateDif function only goes to increments of days. ie =DateDif(A1,A2,"d"). A1 and A2 are set to Date Time format #hh:mm#.
    Any suggestions?

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: DateDif Function (2000)

    <pre>=(A1-A2)*24*60</pre>

    will give the difference in minutes.

    Steve

  3. #3
    2 Star Lounger
    Join Date
    Jun 2001
    Location
    Kenton, Delaware, USA
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DateDif Function (2000)

    Right you are works fine. Thank You

Posting Permissions

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