sakherq
01-01-2008, 07:45 AM
i have 2 time stamp values
and i want to subtract them
then i want to extract the difference of days between them by date("d",$new_ts)
but if the subtract result is 0 i get 31 from the date function ??
how to do it ?
and i want to subtract them
then i want to extract the difference of days between them by date("d",$new_ts)
but if the subtract result is 0 i get 31 from the date function ??
how to do it ?