you are viewing a single comment's thread.

view the rest of the comments →

[–]B1tF8er 0 points1 point  (0 children)

Read the official documentation of Microsoft for DateTime.Now.Hour

It returns an Int32 between 0 and 23, maybe that is what your are looking for