in reply to Re^2: How do i select the past date and highlight the current date?my code is
in thread How do i select the past date and highlight the current date?my code is

Exactly. Because I don't want to have to think about when a daylight savings time change happens in date calculations, I'm not adding/subtracting 24 hours, as there is one day every year which only has 23 hours and one day which has 25 hours. I'm not adding/subtracting exactly 23 hours because I don't want to think about the boundary conditions. So I settle on 22 hours.

  • Comment on Re^3: How do i select the past date and highlight the current date?my code is