B
Brian S.
Hi,
why does this function return the date and time.. I only want the date to
return.. no time on it
Public Shared Function LastWorkDayOfTheMonth(ByVal dtmdate As Date) As Date
Dim x As Date = LastDayOfTheMonthDate(dtmdate)
Do While IsWeekday(x) = False
x = x.AddDays(-1)
Loop
Return x.Date
End Function
why does this function return the date and time.. I only want the date to
return.. no time on it
Public Shared Function LastWorkDayOfTheMonth(ByVal dtmdate As Date) As Date
Dim x As Date = LastDayOfTheMonthDate(dtmdate)
Do While IsWeekday(x) = False
x = x.AddDays(-1)
Loop
Return x.Date
End Function