Search Results

Search: Posts Made By: shtuks
Forum: Solaris 07-15-2009
3,546
Posted By shtuks
date -d "-2 weeks" on Solaris
Hi,

I am trying to find solution how to get this on Solaris machine:

$ MY_DATE=`date +%m/%d/%Y -d "-2 weeks"`
$ echo $MY_DATE
07/01/2009


On Linux machine I can use flags like "+2...
Showing results 1 to 1 of 1

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