CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: time difference

  1. #1
    Join Date
    Apr 2000
    Location
    Austria
    Posts
    267

    time difference

    Is there any function availaible to calculate the time difference between two time and dates?

    Thanks in advance


  2. #2
    Join Date
    Jul 2000
    Location
    UK
    Posts
    37

    Re: time difference

    Yes. DateDiff will return the difference between two dates.

    DateDiff("d",Date1,Date2) - returns the days between
    DateDiff("h",Date1,Date2) - returns the hours between
    etc



    Regards

    Anne Wright
    Wright Computing

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured