You use SimpleDateFormat with that string and it would write the name of the month instead of MMM in the short form. You construct a SimpleDateFormat with that string and then use the format(Date) method from that class. On Saturday, August 22, 2020 at 11:04:21 AM UTC+3 P5music wrote:
> I opened this SO question > > https://stackoverflow.com/questions/63492828/ios-getting-the-current-date-time-format-string > but I couldn't include the CodenameOne tag. > I wonder if there is a native function (or a workaround) to have the > current date-time format in iOS as a string like > > dd MMM y HH:mm:ss > > It's letters not the real values. I have to show it to the user. > > Thanks in advance > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/b234ebaa-4068-429d-840d-bcac4f4dabfan%40googlegroups.com.
