Start New Discussion Reply to this Discussion Anyone tell me whats wrong with this code?
Related Article: how to hide src source in html
is a Web Development discussion thread by Wailintun that has 1 reply and was last updated 5 months ago.
Cheesecake87
Newbie Poster
11 posts since May 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
its not even a variable with time in it.
...
<cfset ET = timeformat(EndTime, 'H')>
Then why are you using timeFormat on it? :) If EndTime is null, its probably returning an empty string, hence the error when you try and perform subtraction. Make sure it's a number and problem solved.
<cfset ET = "">
<cfset thisFails = ET - 1>
arrgh
Posting Pro in Training
405 posts since Dec 2008
Reputation Points: 32
Solved Threads: 50
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page generated in 0.2403 seconds
using 2.63MB