From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321623.tru64-unix-managers.marc@archive.invalid> From: "Pidgeon, Phillip" Date: Thu, 17 Oct 1996 09:50:00 +0000 To: tru64-unix-managers Subject: How to change ls -la date/time format? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321623 Hi Can anyone provide me with the command to change the format of the ls -la date/time format to YY/MM/DD:HH:MM:SS (for sorting purposes) rather than the split date/day/time or year format that occurs by default. ie by default you get: >ls -la -rwxrwxr-x 1 root users 68351 Nov 8 1994 /path/filename1 or -rwxrwxr-x 1 root users 68351 Jul 19 17:15 /path/filename2 I would like (or equivalent): -rwxrwxr-x 1 root users 68351 94/11/08:01:00:00 /path/filename1 -rwxrwxr-x 1 root users 68351 96/07/19:17:15:05 /path/filename2 The man pages refers to the locale setting LC_TIME but I don't know how to set this variable nor does the man pages elaborate. Thanks in advance Regards, Phil Pidgeon OTIS Engineering Center ppidgeon@omc.otis.utc.com