# Calandar and costs Javascript

I require a simple javacript to add to my website? <[login to view URL]>

that have 2 calandar options for the customer to select an arrival date and a departure date. From those two selections i want to be able to display the cost based on the rates that are already shown.

The costings can be calculated by working out a daily rate from the weekly one.? Example.... to go for a week in June costs £400 if before the 20th and £625 afterwards. If the customer selects to go form the 1st of june to the 10th June ( 10 days) the cost would be £400 / 7 = £57.14 a day * 10 = £571.43. Likewise if the customer selects to go on the 15th June - 25th June it would be 5 days at the daily rate of early june and 5 days at the later June rate. The cost would be £400 / 7 = £57.14 a day *5 = £285.71 + £625 / 7 = £89.28 a day * 5 = £446.42 +? £285.71 = Total cost £732.14

I hope this is clear. I wish it to be easy to use for the customer.

( 47 reviews ) Chandlers Ford, United Kingdom

Project ID: #3957367

## Awarded to:

the13thwarrior

See private message.

\$42.5 USD in 14 days
(375 Reviews)
8.0

## 17 freelancers are bidding on average \$55 for this job

sherifnegm

See private message.

\$85 USD in 14 days
(148 Reviews)
8.3
shebkhan2007

See private message.

\$85 USD in 14 days
(725 Reviews)
7.2
imranphp

See private message.

\$85 USD in 14 days
(161 Reviews)
6.4

See private message.

\$68 USD in 14 days
(59 Reviews)
5.3
allytechvw

See private message.

\$85 USD in 14 days
(24 Reviews)
4.7
developermanish

See private message.

\$59.5 USD in 14 days
(8 Reviews)
3.1
saifuddinme

See private message.

\$63.75 USD in 14 days
(11 Reviews)
2.9

See private message.

\$17 USD in 14 days
(8 Reviews)
2.2
danrusu

See private message.

\$29.75 USD in 14 days
(7 Reviews)
2.3
whynotonlinevw

See private message.

\$42.5 USD in 14 days
(3 Reviews)
1.4
meinbeijing

See private message.

\$85 USD in 14 days
(1 Review)
0.0
samarthatec

See private message.

\$29.75 USD in 14 days
(0 Reviews)
0.0

See private message.

\$6.8 USD in 14 days
(1 Review)
0.0
vickrambalaji

See private message.

\$63.75 USD in 14 days
(0 Reviews)
0.0
dincoder

See private message.

\$17 USD in 14 days
(0 Reviews)
0.0
piticutz19

See private message.

\$68 USD in 14 days
(0 Reviews)
0.0