in reply to Re^2: Yesterdays date while daylight saving time change
in thread Yesterdays date while daylight saving time change

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.
  • Comment on Re^3: Yesterdays date while daylight saving time change

Replies are listed 'Best First'.
Re^4: Yesterdays date while daylight saving time change
by Schaelle (Novice) on Mar 29, 2010 at 09:59 UTC

    Good I used your suggestion and not the one from my boss (he gave me the idea with only 1 hour) :-)