Hi can anyone help me how to change the year of current date in solaris..
pls specify the format so that i can change its year ..
i know this
"date mmdd hhmn" but how do i change teh year i wannt to change from current year to different year
Printable View
Hi can anyone help me how to change the year of current date in solaris..
pls specify the format so that i can change its year ..
i know this
"date mmdd hhmn" but how do i change teh year i wannt to change from current year to different year
man date gave me this
but that is not solarisCode:date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
Kurt
hi Kurt thnx for reply,
so u mean if current date is suppose 2Aug2000 and if i want to change to todays date that is 14Aug2006 9pm then
i will write as below
"081421001906"
i didnt understand abt -u n other options
Pls suggest
I understand to set todays date would be
KurtCode:date 0814140306
edit: in your example that would be
Code:date 0814210006
thnks .. i cld change it ..by another option with date command.. its working
i used "date -u 081421002006".its working thanks
did u tried ur command on any unix