Hello All,
The below code is return the Current date in Debug Mode. But Does not return the current date in Release mode.
B4X:
Dim is_DateAndTime As SntpTime
Dim ll_date As Long = is_DateAndTime.getGmtNtpTime
Log("Time Ticks : " & ll_date)
DateTime.DateFormat = "dd-MM-yyyy"
Dim ls_currentdate As String = DateTime.Date(ll_date)
Log("Current Date : " & ls_currentdate)