Hi,
I am using a javascript imput date calendar to search events by date.
When you select a date, an input text field gets filled up imediatly with the value selected in the calendar.
So, if I pick a date of the calendar, the textflied lists the selected date as: DD/MM/YYYY
which is perfect as it is a UK website.
The problem is that all dates in my database have been inputed as YYYY/MM/DD
So when I click on the "Search button" I would need to have my date: DD/MM/YYY Y converted" to YYYY/MM/DD so the database can be searched properly and return the matching value
Do you know what I mean?
Is there a way to create a function to do that?
How should I go about this?
Vinny