h4x3d.com

- h4x3d.com

Archive
Tag "birthday"

Hey all, in case you wondered why the 21 from my short bio turned to 22 overnight…
… I am now one year older. I really liked the 21, kind of- 22 looks stupid, doesn’t it?

Anyhow I am currently still on the road and will be reading through all the comments and mails from the past 10 days.
Feel free to leave your greetings here, I will be thankfully replying one-by-one.

If you are interested in the age-script code behind the age-calculation I use on this page, here it is (I found it on Google after some research):


< ?php

  //calculate years of age (input string: YYYY-MM-DD)
  function age($age){
    list($year,$month,$day) = explode("-",$age);
    $year_diff  = date("Y") - $year;
    $month_diff = date("m") - $month;
    $day_diff   = date("d") - $day;
    if ($day_diff < 0 || $month_diff

This should return 22 today!

If you want to output the age AGAIN, do not use the full function again, but only:



Read More