Solved

date conversion

  • 26 October 2023
  • 4 replies
  • 61 views

Badge +1

Hi Everyone  

How to convert date format from dd/MMM/yyyy to dd/MM/yyyy?

Example:

06/Oct/2023 to 06/10/2023?

icon

Best answer by sannath.k 26 October 2023, 12:27

View original

4 replies

Badge +4

@suganya You can use and go with the custom logic like python scripts for the date format conversion. Else use datetime to string command where you can select date formats or use custom format according to the time zone.

 
Userlevel 4
Badge +14

Hi @suganya ,

You can use Date time to String action under Date package : Refer below screenshot for your reference. 

 

Badge +1

@sannath.k @Zaid Chougle Thanks.

But datetime package throws exception.

 my input '26/Oct/2023' , custom format dd/MMM/yyyy

 

Badge +4

@suganya You need to take input variable as Datetime variable then you can get result else choose system default date $System:Date$ variable.

Reply