php weekdays
snippet in php

php weekdays

user9411

0 : sunday,
1 : monday,
2 : tuesday,
3 : wednesday,
4 : thursday,
5 : friday,
6 : saturday,

php timestamp format

user5487

date("d.m.Y", strtotime($mysqltimestamp)