<!--- This example shows the various types of output
possible with TimeFormat --->

<HTML>

<HEAD>
<TITLE>
TimeFormat Example
</TITLE>
</HEAD>

<CFSET todayDate = Now()>
<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">

<H3>TimeFormat Example</H3>

<P>Today's date is <CFOUTPUT>#todayDate#</CFOUTPUT>.

<P>Using Timeformat, we can display that date/time value
in a number of different ways:
<CFOUTPUT>
<UL>
	<LI>#TimeFormat(todayDate)#
	<LI>#TimeFormat(todayDate, 'hh:mm:ss')#
	<LI>#TimeFormat(todayDate, 'hh:mm:sst')#
	<LI>#TimeFormat(todayDate, 'hh:mm:sstt')#
	<LI>#TimeFormat(todayDate, 'HH:mm:ss')#
</UL>	
	
</CFOUTPUT>	
</BODY>

</HTML>       
