trying to get current date in code behind in Visual studio 2010
I know this is simple. I push a button on a web page. I am trying to get
the current date into 3 variables Year, Month, and Day In the Code behind
I Have:
Dim intDay As Integer
intDay = Date.Now.Day
I get error message
Input string was not in a correct format.
Suggestions?
TIA Steve42
No comments:
Post a Comment