modifying date seperators

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a registry edit that I can use to change the regional date seperator
format from / or - or . to none. As an example 05152005. There are some new
standards for check printing that require no seperators for scanning
purposes. I have found the $date setting where it defaults to the seperator
specified in the regoinal settings in the control panel, but leaving it blank
does not change the default.

Thanks
 
Big Guy said:
Is there a registry edit that I can use to change the regional date seperator
format from / or - or . to none. As an example 05152005. There are some new
standards for check printing that require no seperators for scanning
purposes. I have found the $date setting where it defaults to the seperator
specified in the regoinal settings in the control panel, but leaving it blank
does not change the default.

Thanks

I suspect that the format may be set by the application
you use to print checks. What is it? Did you have a
look at its configuration settings?
 
I am sure that newly written software might be able to solve the problem, but
to use the existing software in the intrem requires a work around for older
software. The regoinal settings would work if I can remove the seperator. It
has to be a registry hack.
Alan MCSE
 
Big said:
Is there a registry edit that I can use to change the regional date seperator
format from / or - or . to none. As an example 05152005. There are some new
standards for check printing that require no seperators for scanning
purposes. I have found the $date setting where it defaults to the seperator
specified in the regoinal settings in the control panel, but leaving it blank
does not change the default.
Hi,

Put the VBScript below in a .vbs file and run it and see if it helps.

'--------------------8<----------------------
sRegKey = "HKEY_CURRENT_USER\Control Panel\International\"
oShell.RegWrite sRegKey & "sShortDate", "ddMMyyyy", "REG_SZ"

' You might need to enable the line below as well (by
' removing the ' character)
'oShell.RegWrite sRegKey & "sDate", "", "REG_SZ"

MsgBox "Finished!", vbInformation + vbSystemModal, _
"Date format update"
'--------------------8<----------------------


WSH 5.6 documentation (local help file) can be downloaded from here
if you haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
 
Back
Top