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 6575 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Greetings.

May I kindly ask somebody to point me into the right direction. I have been trying for hours to get a date calculation right.

The situation is:

a) my FMSA is located at the East Coast - US

;) my client is in Sydney - Australia

c) the time difference is +20 hours for Sydney

I need a date calculation which sets the date to Sydney time when a new record is created.

Output form must be timestamp. On the server I can use:

Get ( CurrentHostTimeStamp ) which results as: 23.01.2007 19:31:13.

Now I need to add the 20 hours which is: 24.01.2007 15:31:13.

I tried so many different calculations which didn't work correctly.

Another question: Can I subtract TimpStamp fields to calculate "how many minutes since the last record generated"?

Any ideas?

Thanks a lot, Greg

Posted

1. Try:

Get ( CurrentHostTimeStamp ) + 20 * 3600

2. Yes, you can subtract TimpStamp fields - the result is the difference in seconds. Divide by 60 to get the minutes.

3. What has all this to do with e-mail?

This topic is 6575 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.