Oracle Solaris System Administration (MOSC)

MOSC Banner

Solaris date default output format

edited Jul 28, 2010 9:00AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓
 One of our application admins asked me to explain:
 when I type in "date" on the test1 box it doesn't show me the time as military like it does on test2

I've tried to explain this in the past and gave up.

Anyone seen this?  Any ideas on what the correct output should be?


## from test2:

date
Mon Jul 26 13:22:14 CDT 2010

# test2 Solaris details

uname -a
SunOS test2 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220
cat /etc/release
                       Solaris 10 5/08 s10s_u5wos_10 SPARC
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 24 March 2008
which date

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center