Skip to main content
Cadet | Tier 2
August 1, 2022
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?

  • August 1, 2022
  • 2 replies
  • 555 views

image.png

    2 replies

    Cadet | Tier 2
    August 2, 2022

    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 

    Alex 1378Author
    Cadet | Tier 2
    August 2, 2022

    Thanks GaetanBE 

     

    will try this action step