Hi Team,
In Initilization stage I have to check condition if time is after 10PM KSA and before 10 AM - send daily report and do not proceed
is there any logic please share
thanks
shaik
Hi Team,
In Initilization stage I have to check condition if time is after 10PM KSA and before 10 AM - send daily report and do not proceed
is there any logic please share
thanks
shaik
Hi!
This thread might help you:
How to get a specific time based on timezone? - Learn - UiPath Community Forum
@sven.wullum1 I have got Current KSA time but my question is how to take in between 10PM to 10AM
thanks
shaik
Ah, ok!
Just check if your current time is larger thant 10PM or smaller than 10AM:
This should give you a boolean True if you are in that range.
Now.TimeOfDay>=TimeSpan.FromHours(22) OR Now.TimeOfDay<=TimeSpan.FromHours(10)
Use if condition like KSATimeDateTimeVariable.Hour >= 22 Or KSATimeDateTimeVariable.Hour <= 10 Then Send Report Else stop the process
@ashokkarale let me check and confirm