500pts: Is Time > 08:15 in the morning?
Posted on 2006-11-01
Can anybody tell me how to find out if the current time using NOW is greater than a certain time
if ( DateTime.Now.AddMinutes(-5).ToShortTimeString() >= thisMarket.OpenTime.ToShortTimeString() )
thisMarket.OpenTime is DateTime and contains 08:15
I need for it to return true if it is anywhere from 08:10 (notice the -5) to 00:00
I hope someone can help
Thanks in advance