Converting UTC time zone into EST time Zone then in If Condition need to check

I am working on requirement where I need to check whether EST time is greater than 12 (Noon) for that i am able to get the string in below format:

image

From the above image need to check in IF condition whether current time is greater than 12 , Any suggestions or solution on this.

Thanks…

Hey

make a get text and get the above text you’ve shared

then put this expression in a if condition

strResult = “Current time in Eastern Standard Time is: 02/13/2023 11:15:39”

CInt(Regex.Match(strResult,"\d{2}:\d{2}:\d{2}").Value.Split(":"c)(0)) > 12

hope this helps

Regards