Results 1 to 3 of 3

Thread: how to get the system date of the server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Location
    Banglore, India
    Posts
    4

    Thumbs up how to get the system date of the server

    I developed one application in Vb. Back end is SQL

    Server. Many users can access that application which is

    sitting in Server. In that application for each

    record created i am updating the current date in the

    DB. my problem is I want to take the current date

    from the server and want to update that. b'cos each

    user system can have different dates. i want to rely

    only on the date on the server and i will consider what

    ever date in the Server will be the Current date.


    how can i fetch the date from the server through vb

    program.. can you please help me in any way?

  2. #2
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165
    Use the sql statement "Select GetDate() from Mytable"

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Location
    Banglore, India
    Posts
    4
    got the mail reg. how to get System date of the server.
    I have not yet used that.

    once i successfully implemented that, i will let you know.

    thanks
    bala

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