convert date in $_REQUEST to proper timestamp