Brian Dunning's FileMaker Custom Functions

TimeDispRange ( InTimeStart ; InTimeEnd )

Display a time range in a compact form.

  Be the first to rate this function Log in to vote

Richard DeShong   Richard DeShong - Show more from this author
Logic Tools
http://logictools.com

Share on Facebook Share on Twitter

  Sample input:
TimeDispRange ( 11:30 AM ; 1:15 PM )
  Sample output:
"11:30a-1:15p"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns a text version of a time range of two times.
Requires Functions: SetVar() and TimeDisp()
(both available on BrianDunning.com)
I needed a compact way of displaying a time range.
This was for contact timing, so if minutes = 59, then rounds up to the next hour.
It uses TimeDisp() to minimize the text length of each time.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: