Jump to content
Server Maintenance This Week. ×

Time in 5, vs time in 8


rivet

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

Recommended Posts

I have attached a file that has a simple calc that extracts the hour from a time field.

My final solution is for a FMP5/6 client.

My Formula is:

Abs(Mod(Hour(TimeStart)+12 , 12))&

If(Hour(TimeStart) < 12, "A", "P")

In FMP5 i can not get the proper result.

timeIn5.zip

Link to comment
Share on other sites

I don't quite see the problem - other than hours 0, 12 and 24 turning into 0, instead of the expected 12. But that will happen in both versions.

Please provide an example of input value and the incorrect result.

If you are on a Intel Mac, running FMP5 in Rosetta, the problem might be there:

http://fmforums.com/forum/showtopic.php?tid/181094/

http://fmforums.com/forum/showtopic.php?tid/181095/

Link to comment
Share on other sites

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