Skip to main content
Inspiring
December 19, 2008
Question

Current Day Display plus 30

  • December 19, 2008
  • 2 replies
  • 409 views
I have the time being displayed as followed:

current month / current day

ex: Offer Expires 12/31

What I need to do is add plus 30 days to the current day field. I'm boggled and cannot figure it out.

Anyone have an idea to how this would work.
    This topic has been closed for replies.

    2 replies

    Inspiring
    December 19, 2008
    xstortionist wrote:
    > I'm boggled and cannot figure it out.

    Did you already ask this question in another thread? I made a suggestion, but you did not respond.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=2&threadid=1413593

    > What I need to do is add plus 30 days to the current day field

    You need to start with a date object. I will assume you already have one since you already know the current month and day. Then it is just a matter of using dateAdd to add the 30 days. You can find more information about date functions by consulting the online documentation.
    Inspiring
    December 19, 2008
    hi
    have a look for the DateAdd() and Now() function.

    cheers
    fober