Glen Wiley writes:
> 
> Why not use locale to format the date, that way everyone can be
> happy.  I would rake a look at LC_TIME to determine how to print
> the date.  On Solaris, take a look at the man page at locale(5)
> for a primer.

Because the contents of the LC_TIME locale aren't specified in standard
C and a varying format would make it difficult to mechanically parse the
output (which is the only concern I have about changing the format). 
I'd suggest simply using the ISO 8601 date format: YYYY-MM-DD.

-Larry Jones

Hello, local Navy recruitment office?  Yes, this is an emergency... -- Calvin

Reply via email to