Ask Đổi định dạng ngày của W10 với batch file

DE2NO1

New member
## Change the date format in Windows 10 with a batch file

### How to do it

1. Open Notepad.
2. Type the following code:

```
@echo off
rem Change the date format to MM/DD/YYYY
date /t "MM/DD/YYYY"
rem Change the time format to HH:MM:SS
time /t "HH:MM:SS"
```

3. Save the file as `change_date_format.bat`.
4. Run the batch file by double-clicking on it.

The date and time format on your computer will be changed to the format specified in the batch file.

### Tips

* You can change the date and time format to any format that is supported by Windows.
* You can also use the `/s` switch to specify the system time zone.
* For more information, see the [Windows batch file documentation](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/date).

### Related hashtags

* #BatchFile
* #Windows10
* #dateformat
* #timeformat
* #changeformat
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock