Quick help working with timestamps in php
<p>I'm working on a calendar app and need to get the timestamps for the beginning of each day/month etc:</p>

<p>whats the best method?</p>

<pre><code>//get timestamps for start of (day, month, year)
$ts_now         = time();
$ts_today      = 
$ts_this_month  =
$ts_this_year   =
</code></pre>
