Used this solution and just subtract only 12 hours instead of 24 hours. works with only 1 hour subtraction too.If you use a 1 hour subtraction, you'll be back here in half a year when it fails because of a DST change in the other direction.
In reply to Re^3: Yesterdays date while daylight saving time change
by JavaFan
in thread Yesterdays date while daylight saving time change
by Schaelle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |