Software Venture Consulting
ToMarket

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

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Brian Dunning
Contact me | vCard


Brian on CNN
Brian on CNN


Brian on CBS Radio


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

BillingDay ( DayOfMonth )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.0  (8 votes)
  Discuss this Custom Function

Brian Dunning, BrianDunning.com
http://www.briandunning.com

Makes sure the DayOfMonth given is actually a day in the current month.

Sample Input:
DayOfMonth(31)
Sample Output:
30


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

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

Enter a day of the month, like 30, and the function will return a valid day of the current month.
This handles cases where the current month has fewer days in it than the day of month entered.
Handles leap years.

Examples:
15 would return 15 in every month
31 would return 31 in December
31 would return 30 in November
30 would return 28 in February

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

This is my Custom Function and I want to edit it

Discuss:

Oooh comments and ratings! Love it.

peter vinogradov, hyde park, NY
January 14, 2009 6:43am

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

Your Name:
City/Location:
Comment:
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 3 + 9 =
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. GetAge ( birthdate )
  (Fri, Jul 03, 8:14pm)
2. captialLetters ( numWords ; text)
  (Thu, Jul 02, 9:53am)
3. Base64ToAscII ( string )
  (Sun, Jun 28, 11:47am)
4. AscIIToBase64 (string)
  (Sun, Jun 28, 11:36am)
5. ToggleFlag_cf ( myfield ; myVL ; pos ; neg )
  (Fri, Jun 26, 12:41pm)
6. IsDaylightSavings ( TS )
  (Thu, Jun 18, 1:56pm)
7. DaylightSavingsEnds
  (Thu, Jun 18, 1:38pm)
8. DaylightSavingsBegins
  (Thu, Jun 18, 1:35pm)

RSS Feed of Custom Functions