Hi,
How can I calculate the total number of seconds between the given dates.
I have one fixed date and time and the other one will be entered by the user.
NowI want to calculate the seconds between these two dates ?
Please help ??
$seconds = abs(strtotime($date_1) - strtotime($date_2));
Make sure each date is in one of these formats.