Does anyone know why the following function gives a different value depending on whether returns int or string?
Thanks.
B4X:
Sub fncMakeId () As Int 'if string returns a different value
Dim datFecha As Long
DateTime.DateFormat = "yyyyMMdd"
DateTime.TimeFormat = "hhmmssSSS"
datFecha = DateTime.Now
Return DateTime.Date(datFecha) & DateTime.Time(datFecha)
End Sub
Thanks.