coslad Well-Known Member Licensed User Longtime User Sep 21, 2013 #1 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: Sep 21, 2013
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 ?
coslad Well-Known Member Licensed User Longtime User Sep 21, 2013 #2 Solved ! Using DateTime.date() function instead DateUtils.TicksToString everything is ok ! Upvote 0