![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Date functions > WeekOfYearFiscal function |
|
|
| WeekOfYearFiscal function |
| Format |
WeekOfYearFiscal(date;startingDay) |
| Parameters |
| date - any calendar date |
| startingDay - any number between 1 and 7, where 1 represents Sunday |
| Data type returned |
| number |
| Description |
| Returns a number between 1 and 53 representing the week containing date, figured according to startingDay. startingDay indicates which day is considered the first day of the week. |
| Important To avoid errors when using dates, always use four-digit years. For more information about how FileMaker Pro handles two-digit dates, see Conversion of dates with two-digit years. |
| Examples |
| WeekOfYearFiscal(Date(1;2;2008);1) returns 53. |
| WeekOfYearFiscal(Date(1;7;2008);1) returns 1. |
| WeekOfYearFiscal(Date(1;1;2009);5) returns 1. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Date functions > WeekOfYearFiscal function | Next Page |