Skip to main content
Solved

How to get the current system date in the Automation Anywhere community edition (build 9604)?


Forum|alt.badge.img+5

Hello Team,

 

I want to extract the current system date but I am not found such action in the DateTime package, So how can I get the current system date.

Please help me.

Thank you...

Best answer by Venkata Kancharla

MicrosoftTeams-image (6)MicrosoftTeams-image (5)

View original
Did this topic help answer your question?

6 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • July 6, 2021

Hi @Jitendriya Pardia​ ,

 

  • Select the source date-time variable as System: Date
  • Convert date time variable as a string "Here you can custom date formats" If required.

 

Capture 

Thanks!


Forum|alt.badge.img+6

MicrosoftTeams-image (6)MicrosoftTeams-image (5)


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • July 6, 2021

Hi @Jitendriya Pardia​ ,

 

Simply type in $ and that will trigger the Intellisense.

To get the System date, type in $System:Date$ and you are good to go.

 

SystemDateTime 

But this is rarely of use, since we can't use inline operations to convert that DateTime to string, so the approach would be to use the DateTime: To String Action to first convert it to string, or if you simple want to use it in an If Condition, you don't have to assign it to a separate variable.

 

Kind Regards,

Ashwin A.K

 

 


Hi @Jitendriya Pardia​ Under system variable you can find Date variable.

And under DateTime package you can use 'to string' command to convert system date time to required format.​


Forum|alt.badge.img+5
  • Author
  • Navigator | Tier 3
  • 22 replies
  • July 6, 2021

Thank you @santoshkumar sabat​ @Ashwin A.K​ @venkata kancharla​ @Tamil Arasu​ 

for the quick reply and your support.


Forum|alt.badge.img
  • Cadet | Tier 2
  • 1 reply
  • July 27, 2023
Venkata Kancharla wrote:

MicrosoftTeams-image (6)MicrosoftTeams-image (5)

Hi!
I just want to say thank you so much. You helped me a lot with your post.

Best regards,

Ald41r


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings