Hi
I have 3 integer that represents the year, month days
Dim intYear As Integer = CInt(strYear)
Dim intMonth As Integer = iMonth
Dim intEndDay As Integer = CInt(Date.DaysInMonth(intY
ear, intMonth))
Now I want to create two strings with dates, for a SQL Query
I need "Start date" that is: intYear, intMonth and 01 (day) and time 00:00:00
And "End date": intYear, intMonth and intEndDay and 23:59:59
How do create these two strings in a easy way, :)
Start Free Trial