Say for example i had a unix timestamp 1345810244 , what i wanted to do is have a function to check whether this timestamp has the same date as today i.e.
function isToday($unixTimestamp) {
if ($unixTimestamp == (today){
return true;
else
return false;
}
Im so new to dealing unix timestamps, thanks.
1 Answer