Hi all,
Can anyone tell me what is the best way to capture user input (StartTime,
EndTime) and resuse this data to calculate TimeElapsed.
Thanks.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233552
Archives:
PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: Love Sponge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, February 27, 2006 8:50 AM
Subject: Time Calculations
Hi all,
Can anyone tell me what is the best way to capture user input (StartTime
-talk@houseoffusion.com
Sent: Monday, February 27, 2006 8:50 AM
Subject: Time Calculations
Hi all,
Can anyone tell me what is the best way to capture user input (StartTime,
EndTime) and resuse this data to calculate TimeElapsed.
Thanks
: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: Love Sponge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, February 27, 2006 8:50 AM
Subject: Time Calculations
Hi all,
Can
Subject: Re: Time Calculations
Could you be a bit more specific, getTickCount()seem to be ignoring the
time I entered as start and end times I entered for testing. Could it
be using system time instead?
(StartTime,
~|
Message
, February 27, 2006 11:37 AM
To: CF-Talk
Subject: Re: Time Calculations
I know DateDiff would work in many cases but here the user is inputting
the time. How do you get datediff to recognize the user inputted time?
I think you probably looking for the DateDiff function. You can pass
in
two date/time
DateParse, turns a date string into a date object, one can then dateDiff the
objects.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
| | |
-
C code. C code run. Run code run. Please!
- Cynthia
]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, February 27, 2006 10:39 AM
Subject: RE: Time Calculations
As long as it's a valid date/time object, ColdFusion can give you the
difference.
cfset dteThen = 2005-12-01 12:30:00/
cfoutput
The number of seconds since then is #DateDiff('s',now
Those are your start and end timesyou set start before the task begins and
set end when it's done. Perhaps I'm mis-reading you?
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail:
: Time Calculations
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http
Lackey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, February 27, 2006 10:39 AM
Subject: RE: Time Calculations
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233609
Archives: http
using method=post in your form tag?
On 2/27/06, Love Sponge [EMAIL PROTECTED] wrote:
Yes
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233610
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
With time values, I've found that using a drop-lists for
hour/minute/ampm sometimes works best from a input control aspect...it
can sometimes be easier for data entry, especially if you can limit
the minutes drop list to something like every 5 or 10 minutes
--
Jim Wright
Wright Business
With time values, I've found that using a drop-lists for
hour/minute/ampm sometimes works best from a input control aspect...it
can sometimes be easier for data entry, especially if you can limit
the minutes drop list to something like every 5 or 10 minutes
--
Jim Wright
Wright Business
and Time Used...the idea being at any given time, I could query for
allocated time, subtract the sum of all used time to easily display
remaining time.
My question is, do you define the datatype in the database as a datetime
object? and just ignore the date portion to do the time calculations
Jeff Small wrote:
Let's say a table was going to contain AllocatedTime which would be the
total time allocation for a task, say...an hour, possibly 8, maybe 16, maybe
even a half hour or 45 minutes...you get it, a range of hours and minutes,
and another table was going to contain separate
Hi.
I run CF5 on Win2k. I have enabled 'Show Total Processing Time', or
exploded benchmarking, or whatever you want to call it.
In customtags that use cfexit the execution
time of the calling tag will be attributed to the custom tag itself rather
than the calling tag. This makes the debugging
Michiel Boland wrote:
exit.cfm:
cfexit
test_exit.cfm:
cf_exit
cflock name=z type=readonly timeout=0
cflock name=z timeout=1 throwontimeout=0
/cflock
/cflock
Execution Time
1016 milliseconds
0 ms ...\APPLICATION.CFM
1000 ms ...\EXIT.CFM
0 ms
18 matches
Mail list logo