Using mktime()

I want to use the mktime function to convert date-times in
the format 26-Jan-2011 15:21:33 to a timestamp,
the date-time is an input from a text box using a javascript
datetime picker. How do I make the date-time in that format
fit into the parameters of the mktime function .

Thanks

Have you considered using strtotime() instead?

Thanks man, strtotime() is the way to go,
it’s a magical function.