How blogging old are you?

January 27th, 2007 § 58

See my footer and you’ll know since when I’ve been blogging.

Hey I’m a fresh drop-in. How about you tell us your blogging age by putting this nice little php code in your footer/sidebar or any template page on your wordpress blog:


Blogging for <?
$days = round( (time() - strtotime('January 7th, 2006')) / 60 / 60 / 24 );
$years = floor($days/ 365);
$daysLeft = $days - ($years * 365);
print "$years years and $daysLeft days";
?>

Make sure to replace January 7th, 2006 with the date(in same format as above) you started blogging in the above code. Visitors can now know your blogging age. So how blogging old are you?

Update: Thanks to Avinash for the tip.

Thanks to Stéphane for correcting me again.

Check this out before going away:

One way to work while staying at home and earn decent money is by creating a site that offers some of the premier certification training. This can easily be accomplished through domain registration which will first have to be searched for on a search domains site, and finding a cheap hosting company. Using web design software the design template can be created in no time. One can offer microsoft training on the site. Courses like 70-291 can be offered. Other than that Comptia training can also be offered, tutorials for 220-601 are very famous.

§ 58 Responses to “How blogging old are you?”

What's this?

You are currently reading How blogging old are you? at BlogoSquare.

meta