Good health to all.
I do one thing, I need a date from yesterday.
$vdate = (date("d")-1).".".date( "mY");
The date("d")
format gives numbers in the format: 01-31
with zeros.
This is what I need, but my calculation of date ("d") - 1 breaks the format and selects 0 , it seems and understandable:
08-1 = 7 , but how to avoid it?