D DanteS Member Licensed User Longtime User Jul 14, 2015 #1 The methode Getdate of AnotherDTP shows a date in the box, but if you need to operate it, for example to send it to a database, you get an error because the box contains the date in a long variable. How can I convert it to text?
The methode Getdate of AnotherDTP shows a date in the box, but if you need to operate it, for example to send it to a database, you get an error because the box contains the date in a long variable. How can I convert it to text?
D DanteS Member Licensed User Longtime User Jul 15, 2015 #3 DonManfred said: B4X: DateTime.Date(DTPvalue) Click to expand... Thanks Don First I had to do DateTime.DateFormat="MM/dd/yyyy" and then DateTime.Date(dtp_bdate.GetDate) Upvote 0
DonManfred said: B4X: DateTime.Date(DTPvalue) Click to expand... Thanks Don First I had to do DateTime.DateFormat="MM/dd/yyyy" and then DateTime.Date(dtp_bdate.GetDate)