Android Question add Day

Duque

Active Member
Licensed User
Longtime User
Help !
I'm having trouble adding days to a date I have in a DB
B4X:
DateTime.DateFormat="MM/dd/yyyy"
Dim SumaDia As Long   
Dim myfecha As String
myfecha="07/05/2017"

SumaDia=DateTime.Add(0, 0, 0, 1)
SumaDia=DateTime.Add(myfecha, 0, 0, 1) 'Where I put my date or format and that does not work
 
Top