DATES
Posted: Mon Jul 26, 2004 7:24 am
hi all,
i can receive dates in the format day/month/year. However the format they are stored vary. i want to be able to convert these dates to mysql format Y-m-d.
The diifferent formatis i can get for day/month/year can be:
28/2/04
28/02/04
28/02/2004
28/2/2004
many more depending on the date. How can i simply just convert what ever format to mysql format Y-m-d.
i can receive dates in the format day/month/year. However the format they are stored vary. i want to be able to convert these dates to mysql format Y-m-d.
The diifferent formatis i can get for day/month/year can be:
28/2/04
28/02/04
28/02/2004
28/2/2004
many more depending on the date. How can i simply just convert what ever format to mysql format Y-m-d.