The calculator converts the number of days, hours, minutes and seconds between each other in different directions.
The calculator form has a number input field and a drop-down list to select the format of the entered value "Days, Hours, Minutes, Seconds". When you enter or change values in the fields, the calculator dynamically, in real time, performs the calculation and displays the result. The calculator converts the entered value into the corresponding number of days, hours, minutes and seconds and displays the calculation results.
The calculator has the function of automatic declination of words depending on their quantitative expression, for example 1 hour, 2 hours, 5 hours. The function works with positive and negative numbers, fractional tenths, hundredths, thousandths, etc.
The function allows you to incline the following words:
´day´, ´day´, ´days´
´the hour´, ´hours´, ´hours´
´minute´, ´minutes´, ´minutes´
´second´, ´seconds´, ´seconds´
Calculation example:
1 day
24 hours
1440 minutes
86400 seconds
--------
3 days
72 hours
4320 minutes
259200 seconds
--------
5 days
120 hours
7200 minutes
432000 seconds
Uses: html, css, javascript;
Terms of use: license for 1 domain.
========== License==========
The copyrights to the scripts belong to the "programming Workshop", hereinafter referred to as "MP".
Website: www.mobile-island.narod.ru
E-mail: mobile-island@yandex.ru
Data calculation algorithm and script structure are protected by copyright.
Any copying and distribution of scripts without the consent of " MP " is punishable by law.
Prohibits:
1.Resale script on sotny.ru and other resources, or in other ways.
2.Distribution or transfer of script files to third parties.
3.Public publication of the script code.
4.Attribution of authorship.
Allows:
1.Install the script on the site specified when ordering the script, or,
install on your own site, if you do not need to specify the name of the site.
No feedback yet