Good morning. What a nice day today (in Vancouver)!
Anyways, in reply to pshylocke, I totally agree with your suggestion - the simpler, the better, and the simplest, the best.
But if the user input in this case is like "yyyy/mm/dd" or "dd/mm/yyyy", then you have to chop this string into threee parts. Besides, the last question was asking the way to convert this into unix timestamp, if I was not mistaken. So mktime() or strtotime() in conjunction with substr(), I thought, was a good idea.
Good day.