<!---
Name:        if5.cfm
Author:      Ben Forta (ben@forta.com)
Description: Demonstrate use of <CFIF>
Created:     3/27/01
--->

<HTML>
<HEAD>
   <TITLE>If 5</TITLE>
</HEAD>

<BODY>

<!--- Get day of week --->
<CFSET dow=DayOfWeek(Now())>

<!--- Let the user know --->
<CFIF dow IS 1>
   <!--- It's Sunday --->
   It is the weekend! But make the most of it, tomorrow it's back to work.
<CFELSEIF dow IS 7>
   <!--- It's Saturday --->
   It is the weekend! And even better, tomorrow is the weekend too!
<CFELSE>
   <!--- No it is not :-( --->
   No, it's not the weekend yet, sorry!	
</CFIF>

</BODY>
</HTML>

