in reply to How to find yesterdays date (was: Date)

Isn't this one of those classic questions, where one of those classic answers might be :

scalar(localtime(time-86400))

Altho I'm pretty sure there are many other "classic answers" those this one.

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.