php kullanarak unix zaman damgası almak

0 Cevap php

Suppose i know that today's day is monday. How do i use mktime() in php to get unix timestamp for last friday and the friday before that??

suppose today's date is 17-01-2011 and its a monday. Then i want the timestamp for 14-01-2011 00:00:00 and 7-01-2011 00:00:00.

0 Cevap