I've figured out that I can add $$cpInfoCurrentDateString$$ to a caption box to display today's date. Can I add  a future date?  i.e. Always 1 year after today.

I need to have Captivate populate a date that is one year from today.

Execute this javascript on enter of the first slide:
var objCp = document.getElementById('Captivate');
var myEpoch = objCp.cpEIGetValue('m_VarHandle.cpInfoEpochMS');
var f = new Date(myEpoch+31155760000);//1 year
var fMonth = f.getMonth() + 1;
var fDay = f.getDate();
var fYear = f.getFullYear();
objCp.cpEISetValue('m_VarHandle.fMonth',fMonth);
objCp.cpEISetValue('m_VarHandle.fDay',fDay);
objCp.cpEISetValue('m_VarHandle.fYear',fYear);
Create the variables: fMonth, fDay and fYear.
Then to display:
$$fMonth$$/$$fDay$$/$$fYear$$
12/12/2015

Similar Messages

Maybe you are looking for

  • What is the maximum charge for updating software?

    Dear friends, I am from India. I see nokia devices most lossing softwares. I want to update. What maximum charge can service centere take? Thank you,,,,, Solved! Go to Solution.

  • Problem in exporting internal table to memory

    Hi, I have to export two internal tables (thead and titem) from a report (RFTBCF00) to memory which i will import in my function module can anyone letme know hw it cud b done . Points will b assigned Thnx,

  • IPad order issue

    This is probably not the correct forum for this question but I honestly tried locating a relevant sub-forum with no luck. I placed an order for an iPad on June 2nd but when I log in to check the estimated shipping date / arrival, it just says "June".

  • IPhoto quit unexpectedly

    My iPhoto keeps quiting unexpectedly when I open one of my books I have created. I wanted to buy the book and now it wont even open. I have looked up other discussions and tried some of their suggestions. I tried deleting the com.apple.iPhoto.plist a

  • Trying to upgrade lightroom - but license fails

    Need to upgrade lightroom 4.3 to be able to process "raw" files from a new Canon Camera that just came available on lightroom 5.7 - used the upgrade in my version and downloaded the new one but my license number will not activate it. Do I have to pur