Code:Public Function IsDayTime() As Boolean Return DateTime.Now.TimeOfDay >= New TimeSpan(6, 0, 0) AndAlso DateTime.Now.TimeOfDay <= New TimeSpan(18, 0, 0) End Function
|
Results 1 to 7 of 7
Hybrid View
|
Click Here to Expand Forum to Full Width |