R
Rene A
I want to go out of a function when the local time is
not in 1:00 am / 6:00 am
im using the folowing code :
if ((DateTime.Now < DateTime.Parse("01:00:00")) && (DateTime.Now >
DateTime.Parse("06:00:00")))
{
Return;
}
But it dont work, anyone a tip /id ?
not in 1:00 am / 6:00 am
im using the folowing code :
if ((DateTime.Now < DateTime.Parse("01:00:00")) && (DateTime.Now >
DateTime.Parse("06:00:00")))
{
Return;
}
But it dont work, anyone a tip /id ?