Julian Klewes

22 years now

This article was posted in SeptemberAugust 2, 2007







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:



If you enjoyed this post, make sure you subscribe to my RSS feed!

share me please

h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.

Interact - Leave a comment

Engage in the conversion and leave a comment.
I would much love to hear from you. Please note however that comments are moderated by default. Advertising and rant is welcomed, yet often discarded...
See left/right for additional information













comment? jump to the form



archives | sitemap | contact | tos

Top
advertise
advertise

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

solarVPS.com - reliale enterprise hosting
you know the game, get in touch with me
3