You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 Mean Gregorian Calendar Year === (365+1/4-1/100+1/400) days === 365.2425 days[1]
Months would mess this thing up, since they are not as cleanly calculated. I'll see if there are any pre-made packages/scripts that do this for me. Though if it comes to it, I may be able to come up with my own system.
Code Examples
constyr=(newDate()).getFullYear();(yr%4===0)&&(yr%100!==0)||(yr%400===0);// is Leap Year
!kerbals <number of days|months|years>|<date>
Returns the number of kerbal equivalent to the number of days/months/years or since/until the date.
Considerations: Needs to calculate the value of a kerbal each time as it is a continuously changing constant.
The text was updated successfully, but these errors were encountered: