Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Possible to calculate in British Summertime?

Featured Replies

Hi guys,

Im using FileMaker Pro 6, is there a way I can calculate whether we

are in British Summer Time or not (result should be Y or N)? British Summer time starts on the last Sunday of March and ends on the last sunday of October.

I'm racking my brains and I can't seen to figure out how to do it

with the functions in FM Pro 6.

Cheers

Jalz

Requires three fields:

Year (number)

You enter the year as four digits. (i.e. 2004)

You need a two calculations, with the results as dates.

Start_Summer

Date( 3 , Choose( DayofWeek( Date( 3 ,1, Year )) , "" , 29, 28 ,27, 26, 25 , 31, 30) , Year)

End_Summer

Date( 10 , Choose( DayofWeek( Date( 10 ,1, Year )) , "" , 29, 28 ,27, 26, 25 , 31, 30) , Year)

You may have to replace the "," with ";" for your version of FM6.

HTH

Lee

cool.gif

And, of course, don't forget the easier, unstored calculation

Status(CurrentDate) >= Start_Summer and Status(CurrentDate) <= End_Summer. Set the result as a number. It will be 1 for true and 0 for false. Put this field on your layout and format the number to be a boolean.

  • Author

Thanks Guys,

I've got it to work, would never of thought of using the choose function. Guess you learn something new everyday!

Cheers

Jalz

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.