| Delta V orbit injection calculator | 
The purpose of this page is to allow you to calculator the number of Days, Hours, Minutes, Seconds, starting with a large number of seconds.
Enter the number of seconds in the light grey box below (by modifying the default value shown) and then click the calculate button to obtain results in the green boxes.
If you want to know how this calculator works have a look at the html and javascript code which is embedded in the text html code of this page. Do something like this: "Right mouse click on this page", then do "View Page Source". The javascript code is also shown below:
function computeform(form) {
var totalseconds;
var day = 86400;
var hour = 3600;
var minute = 60;
var totalseconds = form.totalseconds.value;
var daysout = Math.floor(totalseconds / day);
var hoursout = Math.floor((totalseconds - daysout * day)/hour);
var minutesout = Math.floor((totalseconds - daysout * day - hoursout * hour)/minute);
var secondsout = totalseconds - daysout * day - hoursout * hour - minutesout * minute;
form.daysout.value = daysout;
form.hoursout.value = hoursout;
form.minutesout.value = minutesout;
form.secondsout.value = secondsout;
return;
}
Have fun and good luck. I thought about including a 'year' output and wondered how long was a year. Maybe 365.2422 days, but I thought that that might confuse people.
One day has been set equal to 86400 seconds exactly. Note that a sidereal day is 23 hours 56 minutes 4.091 seconds, which is the sidereal average. Read more about sidereal time on Wikipedia
If you would like to make a calculator page yourself, try copying this page and then editing the source html code to suit whatever you want. Delete the 12 lines near at the bottom, between the two <hr> elements, which makes an advert appear.
| Comments please, to be added to this page, to me by e-mail Eric Johnston Copyright (c) 2020 Satellite Signal Ltd, All Rights Reserved. If you have a Blog, Facebook or Web site please add a link direct to this page rather than copying it. Thankyou! Page started 24 Oct 2017, 13 August 2023, 26 Oct 2025. |