Difference Between Time

Results 1 to 3 of 3

Thread: Difference Between Time

  1. #1
    Martin Guest

    Default Difference Between Time

    Hello,<BR><BR>I have to find a way to calculate the time. I mean, I have a script that should know if a visitor clicks twice during a period of 24 hours. On the first click, the script must log it, but on the others, the script musn&#039;t. This one has to determine the time and the difference. How can I do that? Thank you!

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Difference Between Time

    use the datediff function<BR><BR><BR>use that to get the diff between the date saved in the db and Now() if it is &#062; 24 hours you can save or do whatever again otherwise do nothing.<BR>

  3. #3
    . Guest

    Default DateDiff

    Use DateDiff Function. Check the VBScript reference link at the left.

Posting Permissions

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