A.Little wrote:
cfloop from=0 to=5 index=i
cfset tempdate=dateadd('d',i,'26-mar-2004')
cfset temp2 = '31-mar-2004'
#i#: #tempdate# to #temp2#: #datediff('d',tempdate,temp2)#br
/cfloop
I get the following output:
0: {ts '2004-03-26 00:00:00'} to 31-mar-2004: 4
1: {ts '2004-03-27
Hi all,
Am I going mad or is there something I'm missing If I run the
following code:
cfloop from=0 to=5 index=i
cfset tempdate=dateadd('d',i,'26-mar-2004')
cfset temp2 = '31-mar-2004'
#i#: #tempdate# to #temp2#: #datediff('d',tempdate,temp2)#br
/cfloop
I get the following output:
0:
2 matches
Mail list logo