In the "File Naming Pattern" of an Import Activity, you must specify a naming pattern that matches the target file to be imported. This article explains that when utilizing the personalization strings %%Year%%, %%Month%%, and %%Day%% in the "File Naming Pattern", the reference time zone differs between executing via "Automation" versus executing the "Activity Manually."
The File Naming Pattern supports personalization strings — %%Year%%, %%Month%%, and %%Day%% — to dynamically match file names.
When wildcard characters are used in the file name, the reference timezone differs depending on how the activity is run, as described below.
The activity runs using the account (business unit) timezone.
Where to configure: Navigate to [Setup] → [Company Settings] → [Account Settings] → [Time Zone].
Note: After changing the account timezone, it may take up to an hour for the change to take effect. If the activity does not behave as expected after updating the timezone, wait a few hours before trying again.
The activity runs using the user's timezone.
Where to configure: Navigate to [Setup] → [Users] → [Users], open the individual user record, and check the [Time Zone] setting for that user.
When personalization strings are used in the Import Activity's File Naming Pattern, the reference timezone is determined as follows:
Manual run: Based on the timezone of the user who ran the activity.
Example: Run at 6:00 AM Japan time (2021-02-08)
User timezone GMT+9:00 → File retrieved: 20210208.csv
User timezone GMT+0:00 → File retrieved: 20210209.csv
Scheduled run / Automation run: Based on the timezone configured in [Admin] → [Account Settings].
Example: Run at 6:00 AM Japan time (2021-02-08)
Account timezone GMT+9:00 → File retrieved: 20210208.csv
Account timezone GMT+0:00 → File retrieved: 20210207.csv
Note: If no file matching the date based on the reference timezone exists, the file with the nearest date to the current date will be imported instead.
000389700

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.