Cant get a value for the hour of the day to work.
It does print out the simple hour number as in 9 for 09:00 when i check output window, but unable to get it in if statement.
Would rather avoid the Time Tostring 090000 s dont want to keep writing longwinded times juat want simple hours
tried
if (Time[0].Hour = hourOfDay)
Errors
Strategy\BollEtcEtcHours.cs Property or indexer 'System.DateTime.Hour' cannot be assigned to -- it is read only CS0200 - click for info 96 6
Strategy\BollEtcEtcHours.cs Cannot implicitly convert type 'int' to 'bool' CS0029 - click for info 96 6
Cheers

Comment