The below script shows how to get yesterday's date by subtracting 86400 from the current timeval (86400 is the number of seconds in a day), breaking down the individual components, and then building the date string:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.