Ask Ben: Formatting A Date Span In ColdFusion

<!--- Output some testing. --->
<cfoutput>
 
	<!--- Different years. --->
	#DateSpanFormat( "12/10/2008", "2/15/2009" )#<br />
	<br />
 
	<!--- Same year, different months. --->
	#DateSpanFormat( "1/10/2009", "2/15/2009" )#<br />
	<br />
 
	<!--- Same year, same month. --->
	#DateSpanFormat( "2/10/2009", "2/15/2009" )#<br />
 
</cfoutput>

For Cut-and-Paste