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.

Fiscal Year Question February 1 - January 31st

Featured Replies

Hi,  I'm importing records and have a date field that i need to use to set my Fiscal year, month, week based on the fiscal year starting February 1st and ending January 31st.

Any ideas or sample i might be able to take a look.


Thanks in advance.

 

3 hours ago, Nestor said:

i need to use to set my Fiscal year, month, week based on the fiscal year starting February 1st

You can calculate fiscal year as =

Year ( Datefield ) - ( Month ( Datefield ) < 2 )

and fiscal month as =

Mod ( Month ( Datefield ) - 2 ; 12 ) + 1

We need a better definition of "fiscal week" before we can suggest how to calculate it. See the help on WeekOfYear() and WeekOfYearFiscal() functions.

  • Author

Thanks for the info, that worked for my year/month.  My week starts Sunday to Saturday.  This year my Week one was 1/31/2016 and goes all the way to 1/28/2017 (wk 52). 

 

hope this helps.

21 minutes ago, Nestor said:

This year my Week one was 1/31/2016

That's not a good example. You should take the case of year 2014, where February 1 is a Saturday. The question then becomes this:  is Sunday, February 2, 2014 the first day of the second week? IOW, do fractions of weeks occurring at the beginning or end of the year count as full weeks?

  • Author

In the sample above February 2, 2014 (Sunday) would be week 1.  So no fractions of weeks do not count.

 

5 minutes ago, Nestor said:

So no fractions of weeks do not count.

Are you aware of the contradiction between this and your first example?

  • Author

I am. writing about what i really needed helped me out. 

So what is the actual rule you want to go by?

  • Author

So the rule would be.  Week starts on a Sunday end on Saturday regardless of fractions of weeks.  January is part of the previous fiscal calendar.

does that make sense.  sorry for confusing you

1 minute ago, Nestor said:

does that make sense. 

I am afraid not.

Are you doing this for a client? If so, they should provide the answer based on their business rules. This is not a trivial matter and you should not have to make up the answer yourself.

In general, weeks run independently of year/month boundaries - which is why it's not possible to have a simple, one-size-fits-all answer. The first week will almost always (6 times out of 7) be divided between January and February. The two most common approaches are:

  1. The first week of the year is the week that contains the first day of the year (this is the method used by Filemaker's WeekOfYear function);
  2. The first week of the year is the first week that contains four or more days of that year (this is the method used by Filemaker's WeekOfYearFiscal function).

Note that in the first method, different days of the same calendar week can have different week numbers; OTOH, in the second method, the first day of the year (actually, up to three days at the beginning of the year) can be assigned a week number in the previous year.

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.