Day of the week using timestamp

Hello how can I get the day of the week from the timestamp.

This is my timestamp format: 2012-02-05 12:12:58

How can I get the DAY of that timestamp, e.g monday, tuesday, wednesday

See [fphp]strtotime/fphp.


<?php
echo date('l', strtotime('2012-02-05 12:12:58')); //Sunday