Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing daemon.log date format to 24 hour time?

Status
Not open for further replies.

jansenp

Technical User
Jul 3, 2001
1
AU
Hi everyone. My environment has UNIX and NT and I've written some scripts to scan logfiles for completion time of individual boxes. It works great on NT where our DAEMON.LOG is outputting dates in 24 hour time - ie: 07/04/01 06:34:16

Out UNIX environment writes dates to DAEMON.LOG in 12 hour format like so - 04/07/01 09:54:54 AM

I'd really like to be able to chnge the date format on the UNIX systems so that it's the saem as NT and I don't have to re-write my script!
Any ideas how this can be done and what side effects may occur if I make the change? Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top