# Calandar and costs Javascript

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

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
(356 Reviews)
7.6

## 18 freelancers are bidding on average \$56 for this job

shebkhan2007

See private message.

\$85 USD in 14 days
(667 Reviews)
7.0
imranphp

See private message.

\$85 USD in 14 days
(127 Reviews)
6.3
sherifnegm

See private message.

\$85 USD in 14 days
(71 Reviews)
6.2

See private message.

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

See private message.

\$85 USD in 14 days
(22 Reviews)
4.6
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
danrusu

See private message.

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

See private message.

\$17 USD in 14 days
(7 Reviews)
2.0
whynotonlinevw

See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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