« first day (4112 days earlier)      last day (870 days later) » 

 
2 hours later…
 
3 hours later…
 
8 hours later…
9:11 PM
This isn't really a practical problem suited to Stack Overflow. You just want to write better code. This might be better suited to Software Engineering or Code Review but you should read their help docs and tutorials to understand if it's on topic there or not. — mason 24 secs ago
 

« first day (4112 days earlier)      last day (870 days later) »