I'm curious if there is a "best practice" approach to checking the age, I was thinking that I'm still on MissilesCand And will receive Milliseconds from their birth date and then have to see that their birth date + age is REEQ * (365 * mil perrier) & gt; CurrentMillisecond
I believe this will work, but I am wondering if there is some defective with this approach and / or if there is a library which causes me to harm what I do not fear here (For example, a leap year problem?)
This problem language is agnostic, I am currently in Java, but I am curious that it will be the right way to do the language.
TIA
You can try and yes, minor defects in your investigation It is not very accurate, depending on how many legal compliance you have to follow, you can either stay with it or not. Time is a good library because it takes care of all basic checks.
If you are looking for language agnostic then you can see the add-ons code because it properly calculates the dates.
Comments
Post a Comment