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.

Week Of Year

Featured Replies

Is there an easy way round the 53 weeks a year Filemaker convention?

I need to allocate work weeks. When Filemaker arrives at the end of a year it counts the last week as week 53.

The way around FM's conventions is to write your own (i.e. calculate your own week number). Companies use a vast number of different standard weeks, months and quarters. It would be impossible for FM to implement them all. -bd

  • 3 months later...

quote:

Originally posted by LiveOak:

The way around FM's conventions is to write your own (i.e. calculate your own week number). Companies use a vast number of different standard weeks, months and quarters. It would be impossible for FM to implement them all. -bd

LiveOak:

What would you need to do this?

I used this in excel... =IF((MOD(CEILING((DATECELL-"1/1/2001"+2)/7,1),52))=0,52,MOD(CEILING((DATECELL-"1/1/2001"+2)/7,1),52))

What could I do to adapt it to Filemaker?

=IF((MOD(CEILING((DATECELL-"1/1/2001"+2)/7,1),52))=0,52,MOD(CEILING((DATECELL-"1/1/2001"+2)/7,1),52))

Mod(Round((DATEFIELD-"1/1/2001"+2)/7 ,1),52) just gives a "?"...

shocked.gif" border="0

Try replacing "1/1/2001" with TextToDate("1/1/2001")

and use the Min function instead of the Ceiling function

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.