|
-
August 14th, 2006, 06:23 AM
#1
Changing the year(in current date ) in solaris Urgent!!!
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
-
August 14th, 2006, 06:37 AM
#2
Re: Changing the year(in current date ) in solaris Urgent!!!
man date gave me this
Code:
date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
but that is not solaris
Kurt
-
August 14th, 2006, 06:52 AM
#3
Re: Changing the year(in current date ) in solaris Urgent!!!
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
-
August 14th, 2006, 07:03 AM
#4
Re: Changing the year(in current date ) in solaris Urgent!!!
I understand to set todays date would be
Kurt
edit: in your example that would be
Last edited by ZuK; August 14th, 2006 at 07:06 AM.
-
August 14th, 2006, 07:53 AM
#5
Re: Changing the year(in current date ) in solaris Urgent!!!
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|