I use the timestamp in 2 different formats,
1: timestamp a DB record when a form is submitted, this is what I used in dreamweaver <?php echo date("Y-m-d H:i:s");?>
2: This timestamp format I use to create a customer number when a form is submitted <?php $time = date("YmdHis"); echo $time; ?>