Hi all,
I try to find out how I can calculate the next day from a datetime string.
I have already a working calculation but that is based on datetime.now, code for that is:
Now, I have a string with format "2013-08-14 14:00:00" I'm looking for something like this:
I know that this is not working but I can't find anything how I can parse a datetime and just add 1 day.
I try to find out how I can calculate the next day from a datetime string.
I have already a working calculation but that is based on datetime.now, code for that is:
B4X:
DateTime.date(DateTime.Add(DateTime.now,0,0,1))
Now, I have a string with format "2013-08-14 14:00:00" I'm looking for something like this:
B4X:
DateTime.date(DateTime.Add("2013-08-14 14:00:00",0,0,1))
I know that this is not working but I can't find anything how I can parse a datetime and just add 1 day.