Capital H.

     <cfset bnkTime = TimeFormat(now(), 'H')>

     <cfif bnkTime GTE 9 AND bnkTime LTE 14>
          <!---// do this --->
     <cfelse>
          <!--// do that --->
     </cfif>


Benekli23:29P18IV2001


<-> I am trying to implement a script that will do one function 
<-> between 9am and 2pm and another between 2pm and 9am.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to