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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Format Problem

Status
Not open for further replies.

netwalker1

Programmer
Feb 5, 2000
1,241
EG
Dear All :
we are using the format MM/DD/yyyy
and we depends on it in the scripts we are creating to delete tmp files and to recogniz log files ...

The problem is that this format is changing without any human interruption !!!

sometimes when restarting the server all the format become DD/MM/yyyy

so that the scripts failed ...

why this is happening and how can I keep specific format ?

Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
You have checked the regional settings and forced the correct date format system-wide?
 
Yes ..
of course ,,,

also it changes without any changes !
jut restarting the server ... ?


Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
And the date format changes in the regional settings back to dd/mm/yyyy from mm/dd/yyyy? I take it the system locale has been set also?
 
No , just this appear in executing the commad :date

but the regional didn't change in the 2 cases !

Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top