Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi everyone,
how to calculate difference between 2 dates,
i am retrieving the dates from html file.
Below is the code where i retrieve the data.
i want to calculate with each and everyone from present date. Its urgent
Thanx in advance
<?phpfunction parse_array($string,$beg_tag,$close_tag)
{
preg_match_all("($beg_tag(.*)$close_tag)siU", $string, $matching_data);
return $matching_data[0];
}$string=file_get_contents("callback.html");
$src=parse_array($string,"<td nowrap=\"nowrap\">","</td>");for($i=0;$i<count($src);$i++)
echo $src[$i]."</br>";
echo "</br>";?>

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |