age

How to calculate age in TSQL with Years, Months, and Days

What would be the best way to calculate someone's age in years, months, and days in TSQL (SQLServer 2000)? The datediff function doesn't handle year boundaries well, plus getting the months and days separate will be a bear. I know I can do it on the client side relatively easily, but I'd like to have it done in my sproc. ...

Where do all the old programmers go?

I know some people move over to management and some die... but where do the rest go and why? One reason people change to management is that in some companies the "Programmer" career path is very short - you can get to be a senior programmer within a few years. Leaving no way to get more money but to become a manager. In other companie...

Python time to age

I'm trying to convert a date string into an age. The string is like: "Mon, 17 Nov 2008 01:45:32 +0200" and I need to work out how many days old it is. I have sucessfully converted the date using: >>> time.strptime("Mon, 17 Nov 2008 01:45:32 +0200","%a, %d %b %Y %H:%M:%S +0200") (2008, 11, 17, 1, 45, 32, 0, 322, -1) For some reason %...

Old Developers - any future ?

I'm 44 now and I just love code! And software and programming. And MSDN, and Communication of the ACM and Programmez (French magazine) and Stack Overflow and McConnell, Cwalina/Abrams, J. Skeet and J. Spolsky and... every great post ever made about software development ! Call it a passion... Well, I really love my job and I still don'...

Am I too old to became software developer?

I'm 34 years old. Have I any chance to became a good programmer and to start a career as a software developer if this is new for me? ...

Oldest code in a typical Linux distro

Just out of curiosity: What's the oldest code/package in a typical linux distro? Emacs? GCC? ...

Age verification forms and crawlers

I have created a website about some beer brand and had to include age verification page. The verification script is written in PHP and uses sessions to store verification variable. The script works the way that no matter form which link you will try to enter the website it will take you to the verification page first. The verification is...

Regex age verification

Anyone have a good regex for Age verification? I have a date field where I am validating that what the user enters is a date. basically I wanted to figure out if that date is valid, and then further refine the date to be within x number of years Perhaps this may be too complicated to tack onto whatever I have too far, but I figured ...

PHP: How to get age in php from day, month, year ?

I have 3 variables $day, $month, $year each of them have the values what the users given to them. I want to get his real Age too from these 3 variables. For example the user enters this date for his birthdate in this format day,month,year: 04, 07, 1990 -> Now his age is 19 02, 07, 1990 -> Now his age is 20 I want to have i...

What's the legal age to start signing freelancing contracts?

Currently I'm 16 and going on 17 in October. For the past year or so, I haven't been working without contracts because most of my work is local. Now, I'm receiving clients from not-so-local places (not in my state to be specific). Is there a legal age for me to begin creating and signing contracts for freelance work?—If not, is there an...

calculating age using calculator plugin/jquery

I have to sets of dates (via inputs/selects - mm/dd/yyy) on page. I want certain readonly text field to show age in months (calculated based on those two dates) after a certain select field (different select, not a part of dates set) has been changed (any option in that select chosen must trigger calculation and show result in readonly f...

Age to be Android Developer?

How old do you have to be to submit apps to the market. I've looked but I can't find anything? ...

"Age: 0" HTTP Header

Does any one know, what does the HTTP header "Age" is for in general, and what does this specific one means: "Age: 0" Thanks ...

Calculate age in JavaScript

Hello! How can I calculate age in years from a date of format YYYYMMDD to today. Is it possible using the Date() class? Thank you. EDIT: I am looking for a better solution than the one I am using now: var dob='19800810'; var year=Number(dob.substr(0,4)); var month=Number(dob.substr(4,2))-1; var day=Number(dob.substr(6,2)); var today...