Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i get the today date from the server?

Status
Not open for further replies.

ALSayegh

Programmer
Mar 27, 2001
25
KW
Hi

How can I get the today date from the server?
I have a client connected to a server and I wont to get the current date from it
To pass it to the database for security reasons.

 
another solution is that in sqlserver7 you can create a view for ex-name Viewgetdate where you write
select getdate() as toDate
now you can pick it with VB after connecting it with the Server. you can use a variable to take it from a recordset.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top