No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-How to Display the Time Normally by Running the date Command

Publication Date:  2012-07-25 Views:  31 Downloads:  0
Issue Description
Q:
Run the date command on Solaris OS to display the time. The result is displayed as 2008. The result only contains the year. How to display a detailed time by running the date command? 
 
Alarm Information
Null
Handling Process
A:
To query the help information about the date command, run the following command:
man date
The following message included in the help information is displayed:
The following is the default form for the “C" locale:
%a %b %e %T %Z %Y
To display a detailed time by running the date command, use the following two methods:
1. Run the echo $LANG command.
The following message is displayed: LANG=zh
Modify the message to LANG=C
export LANG
2. Choose Option > Language > C on the login interface, as shown in Appendix 1. 
 
Root Cause
Null
Suggestions
Null

END