Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 17th, 2005, 06:33 AM
Registered User
Join Date: Oct 2005
Location: PUNE, Maharashtra, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dubey.kuldeep Send a message via Yahoo to dubey.kuldeep
Default Retrival of Server Side DateTime with ACCESS

How can i retrieve Server side DateTime from MS Access.
Can anyone help me with the complete query.

it would be great

Reply With Quote
  #2 (permalink)  
Old November 1st, 2005, 04:00 AM
Friend of Wrox
Join Date: Jul 2005
Location: Oklahoma City, OK, USA.
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts

Why do you need the server side date time?
At login, you should be running a script so that the workstation clock gets set to match the server. Then you can just check the clock on the workstation.

When a file gets saved to the server, the date stamp comes from the workstations clock, not thr server. That is why it is a good idea to have all workstations that log onto a file server update their clock to match the server's clock.

"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
Reply With Quote
  #3 (permalink)  
Old November 1st, 2005, 12:37 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

If the back end of the database is stored on a file server, just use Date() and Time() or Now() to get this info. It comes from the file host machine. So if the Back End is on the server, it "should" take the server time.

Try setting the front end machine's time to something different from the server time, and then create a record using Date/Time defaults and see which time you grab.

I agree about having the workstations update their clocks from the server. If you are doing record prioritizing based on a timestamp, then they should all be getting their time from the server.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
asp 3.0 classic&access *formula retrival)? saad_rashad Classic ASP Databases 3 February 18th, 2007 03:47 PM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
server side data access rizp ASP.NET 1.0 and 1.1 Basics 3 September 6th, 2004 12:41 PM

All times are GMT -4. The time now is 04:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.