|
-
Jul 27th, 2011, 06:55 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Get Date-Time from a single pc in a LAN
I know how to get the Date from the SQL server and use it in the application, but now I need to modify an old vb6 project that uses MS Access database located in a pc in a LAN.
To avoid errors due to differents dates among the pc in the LAN, the client wants that the application get and use only the Date-Time that is in the pc where the database is stored.
All the pcs use Windows XP SP3
I hope someone may help me to find a solution
Thank You!
JG
-
Jul 27th, 2011, 07:29 PM
#2
Thread Starter
Frenzied Member
Re: Get Date-Time from a single pc in a LAN
I did the same that I do when use SQL server
Run a query against the ADO connection, "SELECT Now As RemoteTime" and that's all!
Didn't see...Perhaps I'm tired!
JG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|