How can I calculate the last date of a month?
In Visual Basic I used DateSerial, like this:
How can I do this in B4A?
In Visual Basic I used DateSerial, like this:
B4X:
Private Function GetLastDayOfMonth(pDate As Date)
GetLastDayOfMonth = Day(DateSerial(Year(pDate), Month(pDate) + 1, 0))
End Function
How can I do this in B4A?