I have a method to create a date string like this

public String getTime() 
    {
        return (new Date(time * 1000L)).toString();
    }

this produces something like 2018-10-25 etc etc which appears to be for USA.
but how do I make this UK time ? IE.. 2018-25-10?

-- 
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 [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/63e21b01-e4fe-44e2-8eb7-fc45a01706fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to