Web Analytics Made Easy -
StatCounter Time difference in seconds - CodingForum

Announcement

Collapse
No announcement yet.

Time difference in seconds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Time difference in seconds

    Hello all.

    I'd like to find the time difference in seconds in my ASP-code, but can't find how to do this.

    In php you have the time() that give the seconds from 1.1.1970 (?) until now. Is there something like this in ASP too?

    I have found the DateDiff that one just gives days, right?

    I basicly want to have two variables, time1 and time2, and show the seconds between them....

    Any assistance would be apprecaited. Thank You for your time!

    Roy

    Found it! DateDiff is the thing here....
    Last edited by royove; Sep 29, 2006, 05:36 AM.

  • #2
    saw that you located the answer ...

    Comment

    Working...
    X