Are you using SQL or Native?
If SQL write a store procedure and use ADO to retrieve the data. Or write a view that returns the datetime and create a table in navision.
If you search the forum, you could have found the following link, with code example for data, but you can change it for datatime.
More complicated answer is: you can use some external tool which is able to read date and time from another PC... (for example "net time \\servername" and save the output into file, read the file, parse it...)
Comments
If SQL write a store procedure and use ADO to retrieve the data. Or write a view that returns the datetime and create a table in navision.
If you search the forum, you could have found the following link, with code example for data, but you can change it for datatime.
http://www.mibuso.com/forum/viewtopic.php?t=6405&highlight=server+datetime
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
How can i get Server Date & Time ?
More complicated answer is: you can use some external tool which is able to read date and time from another PC... (for example "net time \\servername" and save the output into file, read the file, parse it...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
See this VB6 example that uses it. You can turn it into a DLL or OCX that you could use with Navision...
http://www.autocloseidle.com