php判断时间戳是不是今天的时间

2025-04-14 11:22:51
推荐回答(1个)
回答1:

$t = '1366009322';

if (date('Y-m-d') == date('Y-m-d',$t)) {
echo 'y';
}