<?php $input = "01-31-2009 13:24:27"; $output = substr($input,0,-3); echo $output; ?> That'll do the job :) Bill.