Hey i figgured out a way to fix it... not really figgured out why it is
doing that... any ideas anyone?

<cfoutput>
<Cfset wentthere=0>
<cfset time1 = now()>
<CFIF   #timeformat(time1, "HH")# gt "07" and  #timeformat(time1, "HH")# lt
"12">
<cfset wentthere=1>
</cfif>
</cfoutput>

<cfoutput>
<CFSET time1 = now()>
<CFIF #timeformat(time1, "HH")# gt "13" and #timeformat(time1, "HH")# lt
"18">
<cfset wentthere=1>
</cfif>
</cfoutput>

<cfif wentthere eq 0>
<cfoutput>
#timeformat(time1, "HH")#<br>
Sorry, we're closed
</cfoutput>
<cfelse>
<cfoutput>
#timeformat(time1, "HH")#<br>
Hey spiffy, we're open
</cfoutput>
</cfif>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.

Reply via email to