Can someone please help to get the time along with date with anotherdatepicker ?
I tried the above code, but each time, the time is 00:00:00, how to get the current time, along with date ?
B4X:
Private delduedate As AnotherDatePicker
dim newdate as long
DateTime.DateFormat ="yyyy-MM-dd HH:mm:ss"
newdate=delduedate.date
log(DateUtils.TicksTostring(newdate) 'prints 2018-11-30 00:00:00
I tried the above code, but each time, the time is 00:00:00, how to get the current time, along with date ?