Hi Alexander, thanks for the answer, I implement it.
Regards
------------------------------
Miguel Angel Sanchez Sandoval
------------------------------
Original Message:
Sent: Wed June 12, 2024 05:01 AM
From: Alexander Krastev
Subject: day of the week
Hi Miguel,
I use follow code to extract the day of the week:
defVar --name dToday --type DateTime
defVar --name sPreviousWorkingDayName --type String
defVar --name sToday --type String
defVar --name sDayName --type String
getCurrentDateAndTime --localorutc "LocalTime" dToday=value
dateTimeToText --culture "en-US" --date "${dToday}" --standardformat "LongDate" sToday=value
getRegex --text "${sToday}" --regexPattern "(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" --regexOptions "0" sDayName=value
logMessage --message "${sDayName}" --type "Info"
------------------------------
[Alexander] [Krastev]
[RPA developer]
Original Message:
Sent: Mon June 10, 2024 06:58 PM
From: Miguel Angel Sanchez Sandoval
Subject: day of the week
Hi, from a date you can get the day, month, year, hour, but not the day of the week, is there any way to get it?
Regards
------------------------------
Miguel Angel Sanchez Sandoval
------------------------------