Find the Yesterday

On GNU/Linux platform finding the particular date from current date is a no brainer task. For example: Yesterday: date –date=’yesterday’ Nextday: date –date=’next day’ OR date –date=’tomorrow’ Other Tricks: date –date=’10 year’ date –date=’10 year ago’ date –date=’this sunday’ But on Solaris, you don’t have this luxury. So you can use the following trick: TZ=GMT+24Continue reading “Find the Yesterday”