Refer to the following scenario to answer the question below.
You are configuring a filename sequence generator for a connector. Below are common pattern tokens for timestamps ranging from the year to the millisecond.
Define the sequence format using a combination of string constants and pattern tokens to create a unique identifier. Note the example tokens include the square brackets.
For the next sequence number: [Seq] or [seq]
Assume date of September 21, 2022, 12:35:59:123 PM. Some common tokens:
Year: [yyyy] = 2022, [yy] = 22
Month: [MMM] = Sep, [MM] = 09, [M] = 9
Day: [d] = 21, [E] = Wed, [D] = 265
Hours: [k] = 13, [h] = 1
Minutes: [m] = 35
Seconds: [s] = 59
Milliseconds: [S] = 123
What configuration would generate a filename matching the day month year format for "File-14-1-2024.xml"?
- A. File-[d]-[MM] -[yyyy].xml
- B. File-[d]-[M] -[yyyy].xml
- C. File-[d]-[mmm] -[yyyy].xml
- D. File-[d]-[m] -[yyyy].xml
Reveal Solution
Discussion
Correct Answer: B 🗳️
Explanation: Only visible for Actual4Labs members. You can sign-up / login (it's free).