Print Page | Close Window

Time Calculations

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=1149
Printed Date: 29 March 2026 at 5:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Time Calculations
Posted By: Gary
Subject: Time Calculations
Date Posted: 19 March 2003 at 10:52am

How do I go about calculating an End Time (17:15) if I have:

Start Time = 14:30
Duration = 2:45

Is this easily achieveable ???

Thx




Replies:
Posted By: michael
Date Posted: 19 March 2003 at 11:12am
<%
starttime = CDATE("14:30:00")
Duration = CDATE("02:45")
Endtime = Starttime + Duration
Response.Write CDate(endtime)
%>



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net