Group: Forum Members
Posts: 436,
Visits: 944
|
Here's how I am determining the first and last day of the previous month.
Me.tbdtpStartDate.EditValue = DateSerial(Year(Now()), Month(Now()) - 1, 1)
Me.tbdtpEndDate.EditValue = DateSerial(Year(Now()), Month(Now()), 0)
It seems to me there should be a more elegant way in VB .NET. Does anybody know of one?
|