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?
To query the help information about the date command, run the following command:
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
2. Choose Option > Language > C on the login interface, as shown in Appendix 1.