Apr 2, 2002 #1 LucieLastic Programmer May 9, 2001 1,694 GB hi All I need to know the date time on the server, could someone tell me how to do this ? many thanks lou
hi All I need to know the date time on the server, could someone tell me how to do this ? many thanks lou
Apr 2, 2002 #2 earlrainer Programmer Mar 1, 2002 170 IN Hi, Hope this helps This will synchronise your machine time with that of server. I think this is what you require. servername:='NTSERVER'; //here enter your server name str:='NET TIME \\'+servername+' /SET /YES'; winexec(Pchar(str),0); Bye Upvote 0 Downvote
Hi, Hope this helps This will synchronise your machine time with that of server. I think this is what you require. servername:='NTSERVER'; //here enter your server name str:='NET TIME \\'+servername+' /SET /YES'; winexec(Pchar(str),0); Bye