Hi.
When I try to run this:
Having on FromDate and ToDate an string with the format "MM/dd/yyy"
it raises this:
Can someone bring me some light??
Thanks in advance.
When I try to run this:
B4X:
Dim MonthsToShow As Int
Log(DateUtils.PeriodBetween(DateTime.DateParse(ToDate),DateTime.DateParse(FromDate)).Months)
MonthsToShow=DateUtils.PeriodBetween(DateTime.DateParse(FromDate),DateTime.DateParse(ToDate)).Months+1
it raises this:
Target is null. Method called: _periodbetween::
Thanks in advance.