kitsura Posted July 24, 2008 Posted July 24, 2008 Currently one of my database system requires the capture of the current date and time. The main problem is that I need accurate dates and time. But the filemaker function to get the current date and time can only get it from the current host PC. There is already an issue where the host PC's date is wrong which results in all the data captured to be inaccurate. I've already installed a software to the PC to sync the date and time from an NTP server. However for some reason the software didn't sync the time. I was wondering if there is any way to implement a data/time verification in filemaker? Or maybe is it possible to get filemaker to query the server for the date and time since I have total control over the server and what runs on it.
bcooney Posted July 24, 2008 Posted July 24, 2008 Why can't you use Get(CurrentHostTimestamp), and make sure that your FMS time/date is correct?
kitsura Posted July 24, 2008 Author Posted July 24, 2008 Because there is no way of ensuring that the client PC time and date is set correctly. And since it's at a remote location which I don't really have access too it's much more difficult to check on it.
comment Posted July 25, 2008 Posted July 25, 2008 Couldn't you use Applescript and curl to get the current time from the Internet, and calculate the offset?
Vaughan Posted July 25, 2008 Posted July 25, 2008 " The main problem is that I need accurate dates and time." Most systems that I've seen don't need accurate time, they need *consistent* time. That is, each user needs to be looking at the same clock. Whether that clock is accurate is less important; it is easy to correct inaccuracies because all time values will be out by the same amount. As Barbara suggested, use the Get ( CurrentHostTimeStamp ) function.
kitsura Posted July 25, 2008 Author Posted July 25, 2008 Couldn't you use Applescript and curl to get the current time from the Internet, and calculate the offset? The clients are using various flavours of Windows OS like 98 and 2000. I'm using a software to sync the time to an NTP server but still some of them fail and I get dates 2 months in advance.
comment Posted July 25, 2008 Posted July 25, 2008 Well, your original post is tagged as: This Post: Client: 8 OS: Mac OS X Leopard Host: Server 8 Advanced OS: Mac OS X Leopard Furthermore, the entire situation is not clear. First, you talked about the host PC's date being wrong - now it's suddenly about the clients. Please explain the entire setup.
Recommended Posts
This topic is 5964 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now