RSS feed

How to Find the Time Difference in ASP

Published by: Sanu (12/20/2011 5:31:29 AM)

DEC 20 2011

I am coding something where i need the time difference between 2 recorded times to execute a logic. Can someone help me in finding a simple logic or system function in asp to find the difference? I heard there is a system function with many parameters to get the different formats of result. I appreciate your help.

 

HOW TO PUBLISH A PROJECT IN LOCAL IIS OR OWN MACHINE >>

<< How do I request the server to know the top level domain in url

 

COMMENT

Name: San

Try datediff(), use it as datediff("n", start_time, end_time). Here the result will be in seconds. "n" for minutes, "h" for hours.

*Name:
*Comment:
You can use HTML tags here.
*Code: Please enter the sum of 5+2