If
Else
End Ifbasically, what i am trying to do is make the C# equivalent of the above statement, but because i am so new to c# i am having trouble trying to do such a seemingly simple thing. i was under the impression that the eqivalent of 'and' in C# is '&&'... but it doesnt want to work in C# saying 'operator && cant be applied to datetime'please somebody help me to understand what im doing wrong, its extremely important. cheersadam