Hello all, I am testing to check if a DateTime.Now is comprehended between two specified times, the variables i am using are:
and my condition:
but I get an error saying “16:30” is not a valid date time(using this for testing purposes), my final time lapse to check will be between midnight and thirty minutes past midnight, what am I doing wrong?