Purpose: used by other smarty functions to make a timestamp from a string. @param string @return string