Hello,
my problem is this output of this code.
For example i have this date
25.11.2017 14:00:00 and now is 26.11.2017 13:00:00 is the output = 0
What do I need to calculate around the time so that a new day begins after 0 o'clock?
Whatsapp for example it is 23:59 my message: "Today" now is it 00:00 and whatsapp say "yesterday" of my message.
my problem is this output of this code.
B4X:
DateUtils.PeriodBetweenInDays(tformat,DateTime.Now).Days
For example i have this date
25.11.2017 14:00:00 and now is 26.11.2017 13:00:00 is the output = 0
What do I need to calculate around the time so that a new day begins after 0 o'clock?
Whatsapp for example it is 23:59 my message: "Today" now is it 00:00 and whatsapp say "yesterday" of my message.