Converting to and from epoch time

Epoch time is Unix timestamp which counts the number of seconds since January 1 1970 00:00:00 UTC. Without getting into long discussion, follow is how your convert between human readable date and epoch time.

Convert Human Readable Date to Epoch Time

<?php
$now = strtotime('2010-04-25');
print $now;    // 1272175200
?>

Convert Epoch Time to Human Readable Time

<?php
$human_date = "";
$human_date=date("Y-m-d", 1251627495);
print $human_date;    // 2009-08-30
print "\n";
$iso8601 = "";
// time() returns current epoch time
$iso8601 = date("c", time());
print $iso8601;     // 2011-01-05T12:22:00-07:00
?>

For more information refer to date and strtotime PHP manuals.

P3 music music musical instruments office products patio, lawn & garden pet supplies shoes software sports & outdoors tools & home improvement toys & games video games watches hello. Sign in your account cart 0 wish list books advanced search browse subjects new releases best sellers the new york times® best sellers children's books textbooks sell your books     share your own customer images i own the rights to this title and would like to make it av. viagra online cheap R gallbladder (through your pancreas) to your small intestine distal bile ducts – the portion of the common bile duct located closer to your small intestine when your body digests food, your gallbladder releases bile through the cystic duct to the common bile duct, a 4-inch tube that connects your gallbladder to your liver and small intestine. Ducts within your liver are called intrahepatic bile ducts.