geniuscas.blogg.se

Apress learn filemaker pro 16 sample database
Apress learn filemaker pro 16 sample database







apress learn filemaker pro 16 sample database

It seems to me like FM would already be pulling that UTC time code from an outside source, although limited searching didn't confirm nor deny those suspicions. I would think the web connection would count and not necessarily have to be an FMP/A to server via lan or whatever. I'm not sure if you can do this lookup via IP Address, although that lends itself to its own set of problems (Proxy's, VPNs, etc). A current GPS coordinate coupled with a call to the Google Time API is an easy, accurate way to obtain a devices local timezone. Your most reliable method of obtaining an accurate, local time is to use some method agnostic to the devices internal clock. However you still run into the possibility of the client having the wrong time or offset set locally. It's fairly easy to create a function that will return local time offset (Check fmfunctions, I'm pretty sure there's already a CF written that will do this for you). That being said, Get(CurrentTimeUTCMilliseconds) is definitely the way to go as far as calculating local time offsets from the server. If they ran the Get(CurrentHostTimeStamp) function without being connected to your database in the states then that function is going to return the local clients timestamp. I'm sure you've already thought about this, but the Get(CurrentHostTimeStamp) function is evaluated in the context of the server only when there's a connection between the client and the server.









Apress learn filemaker pro 16 sample database