Search Results

Search: Posts Made By: akrahul
100,896
Posted By akrahul
Getting yesterday's date
Try the following command at your unix prompt:

perl -e 'print localtime(time() - 86400) . "\n" '

If your unix machine has Perl installed, then it will work.
28,541
Posted By akrahul
Thanks, kandanmv and PxT
Thanks, kandanmv and PxT. The Perl commands are useful.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy