> <CFIF #timeformat(time, "hh:mm:tt")# gt "07:59:AM" and
> #timeformat(time,"hh:mm:tt")# lt "12:01:AM">
Additional comments on this;
Using TimeFormat to validate a time is REAL dumb - especially if you're
using a 12 hour clock... the reason?
"01:00:PM" is less than "07:00:AM", but it's 6 hours later
What you should be doing is;
<cfif variables.Time gt CreateTime(7,59,0) and variables.Time lt
CreateTime(0,1,0)>
I've also noticed that your CFIF will NEVER produce a positive answer;
You're asking that the time be greater than 7:59 AM and less than 12:01 AM
(one minute past midnight) - this ain't gonna happen! The only way a time
can be less than 12:01 AM is between midnight and 00:00:59 (24 hour clock),
i.e. a whole 60 seconds of time
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.