Operating System - HP-UX
1831929 Members
3458 Online
110031 Solutions
New Discussion

Re: Change format LC_TIME

 
Joaquín_2
Advisor

Change format LC_TIME

Hello all
When a run lpstat -t , it's show job's that must be print: ejm

L-2097 jesus priority 0 Oct 4 16:52
(standard input) 1623 bytes

But the date is 'Oct 4 16: 32' but i need that the date was '10 4 16:32', for manipulate how if it was a number. In the man pages i have read that depend of LC_TIME.
¿How can change the format of the LC_TIME?

Thank's all and sorry by my englis
1 REPLY 1
Fred Ruffet
Honored Contributor

Re: Change format LC_TIME

LC_TIME will change language definition for dates. For exemple I can "avr" and not "apr" for april month (I have it set to french language).
I don't thing you'll be able to display month number without parsing with a script and change it from letters to number.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)