Skip to main content
  • Home
  • Work
  • Photography
  • Contact
  • Client Login
New Rivers Digital
Home

MySQL Recipes

Calculating Age as of a Date: How Leap Year Complicates Things

In:
  • Date
  • MySQL
  • MySQL Recipes
16Jun2009

I am currently working on an application that must take a user's birthdate, and the date of a particular event, and use them to calculate the user's age when the event occurred.

  • Eric Weik's blog
  • Add new comment
  • Read more
Blog Posts (RSS)

About

Hello! My name is Eric Weik. I am a computer scientist, photographer, musician, and occasional blogger. New Rivers Digital is my software consulting business. I am dedicated to using open source software and open data standards for Web development and applications integration. In particular, I am an ardent Drupal fan and specialize in Drupal module development, theming, and data architecture integration.

Contact Details

New Rivers Digital
PO Box 784

Lancaster, VA 22503

Voice+1-804-577-8526
Fax +1-804-462-3229
Contact Form

Content Tags

Abstract B&W Bookmarklet Celestial Clouds CSA Date Drupal Drupal Recipes Drupal Sites Dynamic Range Estuary Government Grasses Long Exposure Macro New Rivers Digital Photoblog Photoset RGB Sketchbook Snow Storm Sumi-e Sunset Surf Theming Trigger.module Views.module Webform.module Zen Zen Theming
more tags

Recent comments

  • 3.x Beta
    7 weeks 6 days ago
  • Some feedback from Webform 3.x
    8 weeks 18 hours ago
  • rainbow art
    8 weeks 20 hours ago
  • Sumi
    10 weeks 2 days ago
  • Thanks for this info! I lost
    11 weeks 1 day ago
  • Look into "Comment Notify"
    18 weeks 2 days ago

Popular content

Today's:

  • Using Drupal Actions, Triggers, and Tokens to Send Notifications About Comments
  • Session Data in Drupal: DO NOT USE sess_read() and sess_write()!
  • Sending Multiple Customized Confirmation Messages with Webform.Module

All time:

  • Using Drupal Actions, Triggers, and Tokens to Send Notifications About Comments
  • Implementing Flickr Slideshow Links By Theming Flickr.module
  • Sending Multiple Customized Confirmation Messages with Webform.Module

Activity Stream

  • Mon, 09/06/2010 - 21:55

  • Flickr Eric posted DSC04355-foxtails 9:55pm #
  • Flickr Eric posted #04361 - Foxtails 9:54pm #
  • Flickr Eric posted DSC04359-foxtails 9:54pm #
  • Thu, 09/02/2010 - 21:05

  • Del.icio.us Eric linked to The Magic Onions 9:05pm#
  • Sat, 08/28/2010 - 23:00

  • Del.icio.us Eric linked to Fanboy.com 11:00pm#
  • Sat, 08/28/2010 - 22:58

  • Del.icio.us Eric linked to Japanese Emoticons: A Stamp of Success ยป Fanboy.com 10:58pm#
  • Del.icio.us Eric linked to http://hypermammut.sourceforge.net/paulstretch/ 10:56pm#
  • Thu, 08/26/2010 - 08:05

  • Del.icio.us Eric linked to Digg - Top in 24 Hours 8:05am#
  • Del.icio.us Eric linked to Kuriositas 11:52pm#
  • Tue, 08/24/2010 - 09:18

  • Del.icio.us Eric linked to Slider | drupal.org 9:18am#
more from my activity-stream


I am a member of the Drupal Association.
Eric At NRD on Drupal.org
Circumjacence (Eric Weik) on Twitter
Circumjacence on Delicious
Eric Weik on Linkedin
Circumjacence (Eric Weik) on Flickr
Circumjacence (Eric Weik) at StumbleUpon

Powered by Drupal & Genesis | Valid XHTML 1.0 Strict | Syndicate content RSS Feed

© 2010 New Rivers Digital | PO Box 784 | Lancaster, Virginia 22503 | +1-804-577-8526 | Contact Form