• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

Calculate date

Hi,

Post date: #DateFormat(AdsDate, "mm-dd-yyyy")#

Expire date: (here I have to put on what date it will expire)

Post date is the date when the user placed an ad

I need to add 30 days from the #AdsDate# that's when the ad will expire.

the ad should expire within 30 days

how am I going to do it?


0
lulu50
Asked:
lulu50
1 Solution
 
gdemariaCommented:
Add 30 days like this..

<cfset expireDate = dateAdd("d",30,adsDate)>
0
 
lulu50Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now