Inputs and triggers:
- Execute the bot using the task execution command with the created bot.
- A message box will be displayed at the start of the process.
- At the end of the process, a message box will show the result for only 2 seconds.
Actions:
- The bot calculates the first day of the last three months and the last day of the last month. Calculates the first and last day of the last three months, depending on today's day.
- For example, if today is March 13, 2020, calculate the values for December 1, 2019 and February 29, 2020. Also, if today is April 2, 2020, the values for January 1, 2020 and March 31, 2020 are calculated.
Output:
(1) The bot sets the first three months of the last three months and the last day of the last month on the clipboard as follows.
(2) The first day is to the left of the value set on the clipboard. The right side is the last day of the last month. They are separated by commas.
- yyyymmdd, yyyymmdd
- For example, 20200101,20200331
(3) For the value set on the clipboard, execute the String String Sub String command to extract the value from the clipboard.
(4) If an error occurs, -1 is set to the clipboard.
Use Case:
- Calculate the first and last days required for input processing etc. for the last three months, and help to input information to the business system.
- The bot does not allow you to calculate the first three days of the last three months and the last day of the last month.
Other: Compatible with leap years.