yes strtotime function is perfect of time calculations.
$today=date('Y-m-d');// for example today is 2009-04-06
$newdate=strtotime ($today);// converted to strtotime
$newdate1= $newdate+ (3600*24*7); // add 7 days
$newdate2= $newdate+ (3600*24*14); // add 14 days
$day= date ("D",$newdate1); // DAY after 7 days
$day2= date ("D",$newdate2); // DAY after 14 days
echo "after 7 days the Day will be.".$day;
echo "after 14 days the Day will be.".$day2;
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...