In linux it is easier, the common date command has '--date=STRING' switch,eg:- --date=tomorrow, which will give the desired output. But dont know why it dont work with AIX.
But there is an easy work around with perl, try this out, it should work with AIX.
1 comment:
In linux it is easier, the common date command has '--date=STRING' switch,eg:- --date=tomorrow, which will give the desired output. But dont know why it dont work with AIX.
But there is an easy work around with perl, try this out, it should work with AIX.
perl -MPOSIX -le 'print strftime "%m/%d/%Y",localtime(time+86400)'
DIJU
Post a Comment