change date format

dear members,
ls -l

drwxr-xr-x  40 root     sys         1024   Jul 11 22:19 usr
drwxr-xr-x  43 root     sys         1024   Feb  1  2009 var

i am using solaris 10
is that possibe to do

drwxr-xr-x  40 root     sys         1024   25-08-2009 22:19 usr
drwxr-xr-x  43 root     sys         1024   20-01-2009  2009 var

not exactly in this format but you can get a similar output (without making changes to the system) with the -E option

# ls -E
total 23674
-rw-------   1 root     root     12047112 2009-08-25 17:24:12.575401000 +0200 core
-rw-r--r--   1 root     root       16384 2009-07-24 18:19:28.313495000 +0200 patch.log
-rw-r--r--   1 root     root       45996 2009-07-24 17:48:45.843158000 +0200 pre_patch.txt

hope this helps :rolleyes:

gxmsgx
thanks alot it solve my prblem
but what is +0200

Is my Coordinated Universal Time (UTC)

# man ls
...cut...
     -E           The same as -l, except  displays  time  to  the
                  nanosecond  and  with  one format for all files
                  regardless       of       age:       yyyy-mm-dd
                  hh:mm:ss.nnnnnnnnn (ISO 8601:2000 format).

                  In addition, this option  displays  the  offset
                  from  UTC  in  ISO  8601:2000  standard  format
                  (+hhmm or -hhmm) or no characters if the offset
                  is  indeterminable.  The  offset  reflects  the
                  appropriate standard  or  alternate  offset  in
                  force  at  the  file's displayed date and time,
                  under the current timezone.

thanks alot