Solved

does anyone know any dos command to set the time format of windows all versions

Posted on 2004-08-24
6
772 Views
Last Modified: 2009-07-29
hi every one

does anyone know any dos command to set the time format of windows all versions (95/98, NT, 2000, XP)??
Actually what i want to do is to set the date and time of client machine with that of the date and time of server.

I have done with date command but when it comes to setting time, Time command available in DOS does not work if the time format is not appropriate (ie. if it does not match with that of the client machine)??


now this is the problem. and i want to set the time format of the windows and then set the time of the client using the "Time" command.

kindly let me know

rs
0
Comment
Question by:ravi-shekhar
6 Comments
 
LVL 5

Expert Comment

by:webtrans
ID: 11879077
yep
just type time on any dos windows

Urs
WebTrans
0
 
LVL 1

Accepted Solution

by:
ameen_al earned 50 total points
ID: 11879123
You mean to say u need synchronize your client computer time with Server’s Time?,
Need to set the time on your Windows NT/2000 machine?  If there is another Windows machine on the same network that has the correct time, you can sync with it automatically using the following command at a command prompt:
net time \\computername /set /y
Without the "/set /y," you will simply see the time that the other machine has.  Without the "/y" you will be prompted for whether or not you want to actually change the local time.

If I’m wrong, explain me more with examples.
0
 
LVL 3

Expert Comment

by:bmhydro420
ID: 11888771
I think if you specify it the way you want it like dd/mm/yy or dd/mm/yyyy it works
0
 

Expert Comment

by:ozgulkaan
ID: 11905866
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now