Hi, Context : I'd like to re-write my datepicker plugin that goes along with the simplecalendar <http://simplecalendar.tiddlyspot.com/> plugin.
When you want to turn 3 numbers (one for the day, one for the month and one for the year) into a string according to a format, you can use a built-in function : var d = new Date(year, month-1, day); return $tw.utils.formatDateString(d, format || "DDth MMM YYYY"); And I was wondering how to do the other way round, getting the three numbers from a string and the format that was used to build the string. Has this been already done ? Even in a limited way for formats used in most cases ? Thanks in advance FrD -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/84708ca1-367e-42fe-9e4c-1d691584fb91%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

