Convert dd-MM-yyyy to datetime and extract the day

input_date = “30-10-2020” -> string

convert input_date to variable of type date

extract the day from input_date in letter
output_day = “Monday” or “Tuesday”, etc

Hi,

Try Convert.ToDateTime(“10-30-2020”).ToString(“dddd”)

1 Like

Hello

Further to @Marta’s post - take a look at this solution

Main.xaml (4.7 KB)

Hopefully this helps you :slight_smile:

2 Likes

@Marta
@Steven_McKeering

this is the date format dd-MM-yyyy

the proposed solution only works with this date format MM-dd-yyyy

@borismh
have a look here:

ensure following:
grafik

1 Like

Hello

Late reply - but if you swap the “MM-dd-yyyy” around and the input string is in the same format then it should work.

Hopefully this helps for nex time :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.