File Processor Connector Guide > File Processor Connection > Understanding Days Calculation
  

Understanding Days Calculation

Use the Contains DatePattern value as the Select File parameter and specify the Days Calculation value to select a file. File Processor Connector considers the Days Calculation parameter value after you select Contains DatePattern.
For Example, if you want to transfer a file with the name 2014Jan15_Account.xml, mention 2014Jan16 in the File Pattern field. You must mention the Days Calculation value as -1. The connector subtracts the Days Calculation parameter value from the day value in the File Pattern field.
The following image shows the Days Calculation field:
Note: When you select file with date pattern and do not define Days Calculation, the connector considers the default date value which is zero.
Parameter
Description
Select File
Specify Contains DatePattern as the Select File parameter.
File Pattern
Specify the required date format.
Days Calculation
The connector subtracts the Days Calculation parameter value from the day(dd) value specified in the File Pattern field.