Tag Archives: date

bluesmoon – Handling Date/Times and timezones

What are the basic rules for stor­ing times in a web application.

The Complex Made Simple

For work, I had a piece of code that needed to cal­cu­late if a cer­tain date fell in between two other days. So I started out writ­ing out this big long func­tion to cal­cu­late if a date fell first within the same year as either of the two dates, and if so within the two