Drop unused variables & less strings
Drop unused variable
Secure date range to 2037 max to avoid integer overflow
Update PHP Doc mostly