dbTalk Databases Forums  

Setting timestamp format in unix

mailing.database.myodbc mailing.database.myodbc


Discuss Setting timestamp format in unix in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
spikexx_1999@yahoo.com
 
Posts: n/a

Default Setting timestamp format in unix - 07-02-2007 , 07:51 AM






At the command level the ls -l command uses the following timestamp
format:

rw-r--r-- 1 bfoste nps 545 Jun 29 07:56 services
-rw-r--r-- 1 bfoste nps 7 Jul 2 13:40 x

but a ksh script running in the same account produces the following
timestamp format when running ls -l:

drwxrwxr-x 3 ebmitadm ebmitrn2 96 2006-11-09 00:55 bin
drwxrwxr-x 5 ebmitadm ebmitrn2 1024 2007-06-29 07:32 data
drwxr-xr-x 3 ebmitrn2 ebmitrn2 96 2006-11-09 01:41 EBM_CTL

I presume that the difference is due to an env. variable setting, in
particular vble LC_TIME but when I tested this using all values
produced by running locale -a I had no success.

Any suggestions please?

Thanks,
Barry


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.