Calculator Converter calculates the number of years, months, weeks and days in different directions.
The calculator form has a number input field and a corresponding drop-down list specifying the format of the entered value "years, months, weeks, days". 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 years, months, weeks and days.
The calculator has the function of automatic declination of words depending on their quantitative expression, for example 1 ´day´, 2 ´days´, 5 ´days´. The function works with positive and negative numbers, fractional tenths, hundredths, thousandths, etc.
The function allows you to incline the following words:
´year´, ´year´, ´years´;
´month´, ´months´, ´months´;
´week´, ´weeks´, ´weeks´;
´day´, ´day´, ´days´
Calculation example:
● 1 year
● 12 months
● 52.14 weeks
● 365 days
--------
● 2 years
● 24 months
● 104.29 weeks
● 730 days
--------
● 5 years
● 60 months
● 260.71 weeks
● 1825 days
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 retab.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