Forums

How to count prices via date picker

zaplcgn 10 Jun, 2018
Hi

i'm using CFv5 for my homepage. There i have a daypcicker from...till date.

Is there any possible to count between theses days and to display a price

For example 25.6.18 till 28.6.18....(price per day)....Endprice....

i have different prices for different seasons and i like to display the full price.... like an airlines does....

is it possible?
GreyHead 11 Jun, 2018
Hi zaplcgn,

I think that it is possible using custom JavaScript. There is some discussion on StackOverFlow here. Or the moment.js library might help you - that specialises in date processing.

Bob
This topic is locked and no more replies can be posted.