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

Recommended Posts

Posted

Can anyone help me do this?

hh:mm:ss to decimal number

I've seen the function to do just hh:mm to a decimal number, but I'm not sure how to be able to handle the seconds part of it.

Posted

What exactly is "hh:mm:ss" - is it text, time or...? And "decimal number" - a number of what?

It is time format and I think I have it figured out.

The convert time field to a decimal number formula would be this (just need to test it still):

Hour (time field) + (((Minute (time field) x 100) / 60) + (Second (time field) x 100) / 3600) / 100

Had to tweak it - this is the correct calculation:

Round

(Hour (xTime) +

(((( Minute (xTime) * 100) / 60) +

(Seconds (xTime) * 100) / 3600)

/ 100); 6)

Posted

You can also simply do this: GetAsNumber ( xTime ), or with a text string representing the time: GetAsNumber ( GetAsTime ( xTimeString ) )

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