Displaying a person’s age in PHP
November 13th, 2007In case you’re looking for a quick function to display the age of someone based on their birthdate, you may come across this script.
Well, that doesn’t work. Here’s a correct way to return an age:
//calculate years of age (input string: YYYY-MM-DD) function age_in_years($birthday){ list($year,$month,$day) = explode("-",$birthday); $year_diff = date("Y") - $year; $month_diff = date("m") - $month; $day_diff = date("d") - $day; if (($month_diff < 0) || (($month_diff <= 0) && ($day_diff < 0))) $year_diff--; return $year_diff; }
BRFMF flyer for sideTrack stage
September 20th, 2007Posters, flyers and web banners for Broad Ripple Fall Music Festival
September 18th, 2007Logo: Broad Ripple Fall Music Festival
September 4th, 2007Today I finalized a logo for the Broad Ripple Fall Music Festival. The fest takes place on October 13, and will take over all the usual music venues and more in Broad Ripple.
sideTrack Entertainment will promote a stage at Indy CD & Vinyl, featuring some of the best local electronic DJs.
You can find more information about the festival at www.nuvo.net/brfmf
New web launch: The Lodge On Magnolia
September 4th, 2007Today Small Box launched a website that I designed and developed myself. Check it out.
Special PLUSH event flyer: PLUSH goes NutZ
August 25th, 2007new web launch: ClearMarket
August 20th, 2007NUVO: Margot & The Nuclear So and So’s
August 15th, 2007A review I wrote about a show that featured some great bands - Margot and the Nuclear So and So’s, Everything, Now! and Jorma and the Movie Bare - at a venue that’s on the rise.
NUVO: preview - Haste the Day
August 15th, 2007I wrote a preview about a benefit show for the bands that had their merch stolen. The lineup isn’t my cup of tea, but it’s for a good cause.



