I have a joomla registration form (using the easyprofile joomla component) with a date field (calendar date picker) which put the date in the following format:
31-12-2016
Id like to change the format of this date to:
31-Dec-2016
I wondered if this is possible with php or even js to find and replace the string in this field, something like the following:
FIND: -01- REPLACE: -Jan-
FIND: -02- REPLACE: -Feb-
This would have to work instantly as soon as the user selects or changes the date from the calendar.
Many thanks in advance is anyone can help!