Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Pass variable in Dateadd() function

$
0
0

Hi,

 

I want pass a variable for number part in Dateadd() funtion instead of hardcoding it.

 

Eg:

<cfset var a = 180>

 

now i want to pass this value of a into "number" part of dateadd function.

 

DateAdd("d", number, now())

 

How can be this done..?



Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>