Hi I am trying to get dayofweek for the given date.
Dim d As Date
d = DateTime.Now
when I tried d.dayofweek, it gave an error. Is there some reference I need to add??
Dim d As Date
d = DateTime.Now
when I tried d.dayofweek, it gave an error. Is there some reference I need to add??
Comment