$taken is = to TimeStamp of Server.
20010927122050
2001 is year
09 is month
27 is date
1220 is time
50 is the sec
I need the 09 to record bandwidth permonth
$fix = substr($taken, 0, 8);
$fix2 = substr($fix, 4, 2);
$fix3 = "$fix2";
echo "$fix3"; // This gives me The month
// 01 = jan
// 02 = feb
//.etc
if ($fix3 = "01")
{
echo "1";
}
elseif ($fix3 = "09")
{
echo"9";
}
How do i get it to work.. Please help Thank you