Eden Morris Posted March 31, 2011 Posted March 31, 2011 Im connecting with a mySQL database and it uses UTC/GMT time for the modification timestamp field. Is there a timestamp function that will take daylight saving into account and generate a UTC/GMT timestamp?
comment Posted March 31, 2011 Posted March 31, 2011 Do you mean you want to generate the current UTC in Filemaker?
Eden Morris Posted March 31, 2011 Author Posted March 31, 2011 yes please Do you mean you want to generate the current UTC in Filemaker?
comment Posted March 31, 2011 Posted March 31, 2011 Don't know of a really good solution for this, I'm afraid. Filemaker looks strictly at your computer's local time, so additional information needs to be supplied from outside. If you [a] are sure user computer's time is correct, and know the user's timezone, and [c] know the user's DST rules, you can calculate the UTC from those three. Another option is to get the UTC from the OS via an OS-level script (requires user computer's time and location to be set up correctly) - or use a web-viewer to get the UTC from an outside service (requires an active Internet connection).
Vaughan Posted March 31, 2011 Posted March 31, 2011 Filemaker looks strictly at your computer's local time... The Get( CurrentHostTimestamp ) function returns the timestamp from the computer hosting the file.
comment Posted March 31, 2011 Posted March 31, 2011 The Get( CurrentHostTimestamp ) function returns the timestamp from the computer hosting the file. Yes, of course - if the file is hosted. But then Filemaker looks strictly at the host computer's local time, etc.
Recommended Posts
This topic is 5054 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