Time flown - Night time and daytime

I gang Opslået Aug 10, 2014 Betalt ved levering
I gang Betalt ved levering

I need a HTML webpage with two text fields, one is TAKEOFF TIME and the other LANDING TIME, the user shall enter the takeoff time in the 24H Format without the : symbol, example 0930, and enter the LANDING TIME on the other text field the same way.

When the user finishes typing it automatically calculates daytime, nighttime and total time.

Using JavaScript, Find out the total time flown, daytime, nighttime and total time, assuming that:

Daytime is from 06:00 to 18:00 and

nighttime is from 18:01 to 05:59

One more thing, the user shall not need to enter a date, we are assuming that the flight never takes more than 24 hours.
So if the takeoff time is 2320 and landing time is 0930
We should have:
Daytime: 03:30
Night: 06:40
Total : 10:10

HTML JavaScript

Projekt ID: #6305984

Om projektet

4 bud Remote projekt Aktiv Aug 10, 2014

Tildelt til:

pragrawal49

i can complete this project in one day.i am a computer science student so i am very comfortable with html and java script.I have done a lot of work with html and javascript in creating websites. I will complete the w Flere

$12 USD på 1 dag
(1 bedømmelse)
0.0

4 freelancere byder i gennemsnit $27 timen for dette job

Champian

Hello, I can provide you this script solution today only. Looking forward to hearing from you. Kind Regards, Champian

$54 USD på 1 dag
(129 bedømmelser)
7.8
bhaskarmandal

Hi, I am 5 years experienced web developer . I have understand your requirement . I can complete within 2 hours . please check my client's feed back as my work ability . Thanks, Bhaskar Mandal

$20 USD in 0 dage
(66 bedømmelser)
5.6
mahaprathap

A proposal has not yet been provided

$20 USD in 2 dage
(1 bedømmelse)
0.5