karmba_a Member Licensed User Longtime User Mar 26, 2013 #1 There is a problem in this project please clarify where the problem and solved :sign0085: Thank you for your support
There is a problem in this project please clarify where the problem and solved :sign0085: Thank you for your support
klaus Expert Licensed User Longtime User Mar 26, 2013 #2 I suppose you want to add a day to the current date. What do you want to do in this line ? B4X: EditText1.Text = d + m + y + jd Add values or concacatenate strings. To concacatenate strings you should use: B4X: EditText1.Text = d & m & y & jd To add a day you can do it that way: B4X: EditText1.Text = DateTime.Date(DateTime.Add(DateTime.Now, 0, 0, 1)) What is jd supposed to be ? Best regards. Upvote 0
I suppose you want to add a day to the current date. What do you want to do in this line ? B4X: EditText1.Text = d + m + y + jd Add values or concacatenate strings. To concacatenate strings you should use: B4X: EditText1.Text = d & m & y & jd To add a day you can do it that way: B4X: EditText1.Text = DateTime.Date(DateTime.Add(DateTime.Now, 0, 0, 1)) What is jd supposed to be ? Best regards.
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2013 #3 Please use File - Export as zip when uploading projects. For date calculations I recommend you to use DateUtils: DateUtils - Simplifies Date and Time Calcuations Upvote 0
Please use File - Export as zip when uploading projects. For date calculations I recommend you to use DateUtils: DateUtils - Simplifies Date and Time Calcuations