Scanned message note date format to local

Hi,

Is there a way to configure the format of the date stamps in the note that is appended to scanned messages to reflect the local format - I’m in Ireland but the date stamp (as part of %VPS% and %TIMEDATE%) inserts mm/dd/yyyy (US-style) in the note whereas I’d like it to have dd/mm/yyyy (EU-style).

Thanks for any help.

[i]Here’s a link from Microsoft which could help http://support.microsoft.com/kb/307938

Basically; you change the regional settings through the Control Panel… The standard, at least on my system under the “Date” tab shows the short date as “M/d/yyyy”… Change it to “d/M/yyyy”…

That should do what you want it to do… :slight_smile:

You should note that the %TIMEDATE% variable is a system thing and that making this change will change everything that deals with it; not just the format in the Avast! messages…

If this isn’t acceptable then I don’t know what else to tell you… 8)[/i]

The problem is… that the e-mail scanner runs as a service - under LOCALSYSTEM account.
So, the date/time format is taken from the local setting of the corresponding account… and I’m not sure how to change that.
On Vista, there’s an option in the Regional settings dialog (to copy current settings to special accounts), but on WinXP, for example… some registry digging might be needed. ???

This trick should work (if you’re computer proficient):

  • Run regedit and go to HKEY_USERS<your_account>\Control Panel\Localization (<your_account> is a SID identifier and normally there’ll be just one)
  • Export this key to a file
  • Open the file in Notepad, and replace all occurences of <your_account> the SID with .DEFAULT
  • Import that file into registry (just double click it).

Effectively, you’re copying the settings from <your_account> to the .DEFAULT key, which is the one used by the services.

Cheers
Vlk

This is embarrassing but I went looking for a solution to this issue just now and found my own post! I duly apologise to the posters above who helped (last year!!) and who I never thanked!!!

I never did sort out the issue but that’s no hassle : on Vlk’s last advice, that regedit location doesn’t have a Localization registry location; and my regional settings are set to dd/mm/yyyy so not sure why Avast is not picking this up from the local system and giving me mm/dd/yyyy in the notes (oh, the scanner interface’s date, for e.g. the date of last scan, is in the local date format so…)

This time I WILL check back for responses!