Skip to main content
Question

Hi i am having troubles on converting Date to date of the week is it possible just to get the Day of the week when i set a variable as seen below like in PAD ? what is the code for getting just the Day when we have a input file that shows 08/01/2022?

  • Aug 1, 2022 2:06 PM UTC
  • 2 replies
  • 560 views

image.png

2 replies

  • Cadet | Tier 2
  • Aug 2, 2022 8:41 AM UTC

Hi,

First you assign a value to a DateTime variable with your input string

imageSecond you use DateTime to string and specify a custom format :

  • 'E': Specify day of the week as 'EEE' (Sun-Sat) or 'EEEE' (Sunday-Saturday).

image 


  • Author
  • Cadet | Tier 2
  • Aug 2, 2022 3:36 PM UTC

Thanks GaetanBE 

 

will try this action step