[codenameone-discussions] Re: Cannot get date from MS

2018-03-13 Thread Gareth Murfin
Doh!!! what an idiot I am, man... Thanks Shai!! On Tuesday, March 13, 2018 at 1:03:04 PM UTC+8, Shai Almog wrote: > > You are getting seconds not milliseconds. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: Cannot get date from MS

2018-03-12 Thread Shai Almog
You are getting seconds not milliseconds. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit

[codenameone-discussions] Re: Cannot get date from MS

2018-03-12 Thread Gareth Murfin
I noticed that the ms from System.currentMillis has 3 extra digits, ie 1520835640781 from system.currentimemillis 1520764777 from api im using so I assume I just need to add some value to the one that is giving me errors? Think ive done this before but i cannot recall what I need to