Below Developer Amanda Lam takes us through her latest application Time Calculator (TimeCalc):
How many days from now until December 21st 2012? How old am I in number of days? If I stop eating now for World Vision 30 Hour Famine, when shall I be able to start eating again?
Time Calculator (TimeCalc) is a little handy tool to answer all these types of questions! You can add/subtract a number of years, months, days, hours, minutes, or seconds to/from a date/time value. You can also find out the difference between two date/time values.
Add / subtract a number of years, months, days, hours, minutes, or seconds to / from a date / time value.
Find out the difference between two date/time values.
Support decimal and negative values, and Simplified / Traditional Chinese localisation.
According to the definition of the Gregorian calendar, the following assumptions are made in this application:
1 Year = 365.25 days
1 Month = 30.436875 days
1 Week = 7 days
1 Day = 24 hours
1 Business Day = A day in between Monday and Friday inclusive, except local public holidays.
(Future support of customising local public holidays may be added.)
1 Hour = 60 Minutes
1 Minute = 60 Seconds
Earliest date supported: 4713/01/02 B.C. (i.e. the next day of the Julian Day)
Earliest Selectable Date: 1900/01/01 00:00:00
Latest Selectable Date: 2099/12/31 23:59:59
Largest Plus / Minus Value: 99999
A.D. 2012 - 2012 years = 1 B.C., as there is no Year 0 by definition
Calculation results of this application are for reference purpose only; their accuracy is not guaranteed. Download
The maximumYear and miniYear attributes define the selection scope of the year. The default value of maximumYear attribute is current year + 20 years, and the default value of the minimumYear attribute is the current year. If you specify a very large scope, say minimumYear = 0 and maximumYear = 2999, it will take quite a bit of time to load the component and hence the year. To take a balance in between performance and practicality (I guess this is still adequate enough for some years in the future? Assuming the Judgment Day will not come too soon... ), the earliest selectable year of this app is defined as 1900 and the latest selectable year is defined as 2099.