how to get current date& time in cmd code example Example: date command window date /t #To get date date #To get date and edit it