Previous Date Calculator - Even in Leap year

This bot takes the present date as the input and displays the present and one-day previous date. This bot is capable of handling leap year.

Top Benefits

  • Accurate
  • Can be used as part of many processes
  • Can pick up files with yesterday's date as a name to compare with today's data

Tasks

  • Takes system date as today's date
  • Checks the format of the date to identify the year and month
  • Based on the present date, gives an output as yesterday's date

Inputs and triggers: The input date is the system date.
Actions: This bot helps with the logic of finding the previous date irrespective of the month, year, or leap year.
Outputs: The output is the present date and the previous date.
Use cases: This bot is capable of handling any kind of date for any kind of process.

Get Bot

Free

Bot Security Program
Level 1
Applications
Business Process
Category
Downloads
109
Vendor
Automation Type
Bot
Last Updated
December 1, 2020
First Published
October 11, 2019
Enterprise Version
11.x
Support

See the Bot in Action

Bot code - Page 1
Output in message box
Bot code - Page 2
PREV NEXT
Bot code - Page 1
Output in message box
Bot code - Page 2

Setup Process

Install

Download the Bot and follow the instructions to install it in your AAE Control Room.

Configure

Open the Bot to configure your username and other settings the Bot will need (see the Installation Guide or ReadMe for details.)

Run

That's it - now the Bot is ready to get going!

Requirements and Inputs

  • Automation Anywhere v11