Getting A Random Date Between Two Given Dates In ColdFusion

<!--- Select 5 random dates. --->
<cfloop
	index="intI"
	from="1"
	to="5"
	step="1">
 
 
	<!---
		Get the random date. Since these values do not include
		time, this will only select random dates with no time.
	--->
	<cfset dtRandDate = RandDateRange(
		"05/01/2007",
		"05/20/2007"
		) />
 
	<!--- Output the date. --->
	#dtRandDate#<br />
 
</cfloop>

For Cut-and-Paste