Change date and time format via command prompt -
i wondering, in windows 7 , above, possible change way dates , times displayed via command prompt? yes, i'm in u.s. doing things european way:
(in clock/language/region)
short date: set "d/m/yyyy"
long date: set "dddd, d mmmm yyyy"
short time: set "hh:mm"
long time: set "hh:mm:ss"
yes, it's possible e.g. using reg add
command.
check hkey_current_user\control panel\international
registry key:
reg query "hkcu\control panel\international"
for instance, query short time format:
reg query "hkcu\control panel\international" /v sshorttime
and set desired value:
reg add "hkcu\control panel\international" /v sshorttime /t reg_sz /d hh:mm /f
if value name or data contains spaces, use double quotes (surrounding double quotes not written registry):
reg add "hkcu\control panel\international" /v sshorttime /t reg_sz /d "hh:mm" /f
Comments
Post a Comment