Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages

Shopping Cart
Shopping Cart


Free Newsletter


Privacy Policy

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.


 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

TimeStampsBetweenList ( startTimeStamp; endTimeStamp; increment )

Rate this function:  

  Average rating: 4.2  (35 votes)
  Discuss this Custom Function

Jonathan Mickelson, Thought Development Corp.

Calculates all the timestamps between two start and end timestamps with the given incriment value.

Sample Input:
TimeStampsBetweenList ( "10/01/2006 1:00:00"; "10/01/2006 2:00:00"; "0:20:00" )
Sample Output:
10/01/2006 1:00:00¶
10/01/2006 1:20:00¶
10/01/2006 1:40:00

 Then copy & paste into FileMaker Advanced's Edit Custom Function window.


Calculates all the timestamps between two start and end timestamps with the given incriment value. This can be useful to round out time values, calculate multi-line time based keys for relationships or generate Timestamp value lists.

Output Format:

A text value list of timestamps found between the start and end time, by incriments given by the incriments parameter. Value list results return text values by their nature, thus when utilizing this custom function it may be necessary to convert any other fields using a GetAsText ( ) or GetAsTimestamp ( ) functions.


startTimeStamp - The TimeStamp value to start from. This time is included within the returned value list result.

endTimeStamp - A TimeStamp value to end calculation before. This time is NOT included within the returned value list result, as only incriments less than the end time are calculated, since the startTimeStamp is inclusive.

increment - A Time value representing the interval to increment by. The granularity is flexible, so hours, minutes, seconds can all be used.
Modified: 12-3-2012
- Typed the three inputs explicitly as timestamps and time's respectively to make sure the resulting calculations function properly.

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

This is my Custom Function and I want to edit it


My Question,

Could we have this list to ignore Weekend and or a holiday list?

Martine, Terrebonne
November 04, 2013 12:48pm

Hi Martine,

For that I don't think you'd wants actual timestamps, try looking at another Custom Function of mine, at (, it is working days and is designed to handle specific working days as well as a holiday list (which can be put together from another Cf of mine,

Hope this helps, you can also just look at the techniques applied to these various CF's and customize them according to your needs. Which was how I came up with mine as well! :)

Good Luck!, let us know what you come up with!

Jonathan M., Los Angeles, CA
November 04, 2013 2:09pm

Thank's Jonathan, Before i read your response it's exactly what i've use.
This function is amazing thank you again.
Sweety Martine ;-)

Martine, Terrebonne
November 06, 2013 5:43am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 8 + 3 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
2. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
3. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)
4. WindowNamesAll ( dbNames ; excludeCurrentWindow )
  (Sat, May 12, 11:34am)
5. RandomChoiceFromList ( values ; required )
  (Wed, May 02, 6:35am)
6. @JSONFormatElements ( json )
  (Fri, Apr 27, 7:31am)
7. MBS-OCR ( language ; Image )
  (Mon, Apr 23, 1:48pm)
8. MBS_Image_Rotate ( Picture ; rotation )
  (Mon, Apr 23, 1:27pm)

RSS Feed of Custom Functions