Datetime Package in A360

Datetime Package in A360 With Example

In this post, we will be learning about all the actions available in a Datetime Package in A360 with help of an example.

Introduction

Date, time, and time zone are all components of a DateTime value. Datetime variables in RPA Workspace are used to hold DateTime values.

Datetime Package in A360

Datetime Package in A360 helps you to use the DateTime data type of variable and perform various date operations using the available Actions.

Actions available in a Datetime package are:

Assign

Assign action is used to assign a date in string format to the datetime variable. This action lets you assign an existing Datetime variable into a Datetime variable.

Add

Add action enables us to add the date and time units to the existing DateTime value. For example, if you add value as “2” and specify the unit as “Days” then it will add 2 days into the existing date.

Subtract

Subtract action enables us to decrease the date and time units from the existing DateTime value. For example, if you put the value as “2” and specify the unit as “Days” then it will reduce 2 days from the existing date.

ToString

ToString action helps us to convert a datetime value to a string value. When we want to pass the datetime value as a string to the child bot or in the same bot, we can use this action.

IsEqual

Size action lets us compare the two dates. It always returns a boolean value. If the two values are equal, it returns True otherwise it returns False.

IsAfter

IsAfter action compares two Datetime variables and verifies if the date of the source variable is after the date of the comparison variable, and stores the output to a Boolean variable.

IsBefore

IsBefore action compares two Datetime variables and verifies if the date of the source variable is before the date of the comparison variable, and stores the output to a Boolean variable.

Additionally, you can refer to the Datetime formats and pre-built formats available in Automation 360.

👉 Datetime Formats

Datetime Package in A360 with Example Code

Datetime Package in A360 With Example

Datetime Package in A360 Video

In case you prefer a video format to learn concepts, you may refer to our Datetime Package in A360 video on our youtube channel. Also, please consider subscribing to the channel.


Design, develop and deploy software bots with RPA. Build an intelligent digital workforce using RPA, cognitive automation, and analytics. Automate business processes using Automation Anywhere products.

Offered By: Automation Anywhere


Conclusion

Hope that you like the blog post. Please spread the word by sharing this with your friends and colleagues. You can also refer to the official documentation of Automation Anywhere on Datetime Package.

For more posts on A360, check this 👉 Automation Anywhere A360 topics

Happy Automating!

Share with your friends:

Leave a Reply

Scroll to Top