Time Difference in Minutes

Results 1 to 2 of 2

Thread: Time Difference in Minutes

  1. #1
    Join Date
    Dec 1969

    Default Time Difference in Minutes

    Hello,<BR><BR>I need to load a variable with the current time, and then find out the time difference in *minutes* with another variable at some other stage of the day, or even on a different day<BR><BR>ie, <BR>varTimeNow = Minute(Time)<BR><BR>might give me a value of, say, 30 - but how can I find out minute difference when comparing to a time later in the day?<BR><BR>simple one, but I&#039;ve been trying for a while + can&#039;t seem to get it right!<BR><BR>cheers,<BR><BR>bpj

  2. #2
    Join Date
    Dec 1969

    Default DateDiff function

    If you don&#039;t have the VBScript docs on your machine...<BR><BR>Click on VBScript Reference in left hand panel of this page.<BR><BR>Click on "Functions" in the list of topics that appears.<BR><BR>Click on "DateDiff" in the list of functions.<BR>

Posting Permissions

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