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

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
ravi-shekharAsked:
Who is Participating?
 
ameen_alConnect With a Mentor Commented:
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
 
webtransCommented:
yep
just type time on any dos windows

Urs
WebTrans
0
 
bmhydro420Commented:
I think if you specify it the way you want it like dd/mm/yy or dd/mm/yyyy it works
0
 
ozgulkaanCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.