While working with programming languages, often converting an item from one form to other is required. Often converting something a user has offered in a usable form is required. In PHP, all dates are saved as UNIX timestamps. In PHP 4 and PHP 5, there is a defined function that enables converting any string to a UNIX timestamp.

· Get thread to convert to a date through a text box on HTML form or from a database.
· Save thread in string variable from assignment statement.
· Define variable to save resulting date through assignment operator and save a zero in variable.
· Use strtotime program to convert string and save it in date variable.