Jump to content
Server Maintenance This Week. ×

Time Duration w/ milliseconds


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

Recommended Posts

Assuming those are text fields, try:


GetAsTime ( Replace ( EndTime ; 9 ; 1 ; ".0" ) ) 

-

GetAsTime ( Replace ( StartTime ; 9 ; 1 ; ".0" ) ) 

---

P.S. Are you sure those are milliseconds at the end? That would be a very weird way to put them: what if there are more than 99 (there can be up to 999)? The format looks like timecode, with frames at the end.

Edited by Guest
Link to comment
Share on other sites

filemaker doesn't recognize milliseconds.

FileMaker recognize even milliseconds, but they are a fraction of seconds.

Try:

Case(

PatternCount ( text ; ":" ) = 3 ; GetAsTime ( Replace ( text ; Position ( text ; ":" ; 1 ; 3 ) ; 1 ; Left ( 1/2 ; 1 ) ) ) ;

GetAsTime ( text )

)

Link to comment
Share on other sites

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