Android Question TicksToString Issue

coslad

Well-Known Member
Licensed User
Longtime User
HI
a strange thing happen with TicksToString , the return of this code :

DateTime.DateFormat="dd-MM-yyyy HH:mm:ss"
Return DateUtils.TicksToString(tempo)

is : "18-09-2013 18:45:00 18:45:00" and not "18-09-2013 18:45:00"

where i wrong ?


EDIT :

if i write :
DateUtils.TicksToString(1379522672000) , only in that application it return

18-09-2013 18:44:32 18:44:32

but if i test it in other application , it return the right string :18-09-2013 18:44:32

Why ?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…