Way to automate changing Regional Settings, specifically date and time format?

  • Thread starter Thread starter StargateFanFromWork
  • Start date Start date
S

StargateFanFromWork

I do contract work and I just saw that a text .LOG file has all sorts of
different formats from the different jobs I've been in. Since I need one
date and time format, got to thinking that there might be some command line
or other way of standardizing the date and time rather than relying on
something manual. Is there anything that can help automate this process?

Thanks. :oD
 
More input please.

Ah, sorry. Okay, firstly, I find the standard time and date display
to be inadequate in a default windows installation. So one of the
fiirst things I do is to go in and change the format of the date and
time. Better for me in that folder details view shows me information
I need as well as Outlook showing calendar with more info.

The thing is that I've not standardized this properly, I see. I'd
look to do that but I'd like to automate this as much as possible. I
have a script that by an easy click brings up the box I need but only
the regional settings box. Would like it to open the tab, and even
more ambitiously, would prefer to set the date/time format
programmatically and avoiding anything manual.

However, just bringing up the right tab on the right box is a step in
the right direction. If that's all that can be done, the box and tab
I mean can be accessed this way (in my WinXP):

CONTROL PANEL > REGIONAL AND LANGUAGE OPTIONS > in REGIONAL OPTIONS
TAB, press CUSTOMIZE button > from there I do this:

1) - make sure in NUMBERS tab that the "Measurement system" shows
"U.S." rather than the darned metric (we're in Canada so metric seems
to be default now.)

2) - change time format under TIME tab.

3) - change short date and long date format under DATE tab.

I recently opened up a several month's long text .LOG file that showed
me that though I'd thought I was using one standard format that I'd
manually put in slightly different ones and/or forgot to change
something as there were slight differences. That's enough to throw my
Excel spreadsheet off as it will convert but much easier to have one
standard format for all.

Would like to automate changing all these things by one simple step
setting all, but will be happy to know command to open up the
"customize" box in the regional settings. I can work from there if
need be.

Thanks! :oD
 
Back
Top