Results 1 to 2 of 2

Thread: [RESOLVED] Get Date-Time from a single pc in a LAN

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Resolved [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

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    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
  •  



Click Here to Expand Forum to Full Width