Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5054 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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).

Posted

Filemaker looks strictly at your computer's local time...

The Get( CurrentHostTimestamp ) function returns the timestamp from the computer hosting the file.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.