Forums / Setup & design / how do I record dates of birth in user registration that are older than 1970

how do I record dates of birth in user registration that are older than 1970

Author Message

Andy Woods

Saturday 26 February 2011 12:31:19 am

I've added a date of birth field to the User class.

However I can't enter dates that are before 1970.

Can you tell me how I can overcome this please?

Andy

Theodoros Papageorgiou

Saturday 26 February 2011 12:36:11 am

You can use the birthday datatype.
http://projects.ez.no/birthday

Theo

WEBWiZ
Web Development
http://www.webwiz.gr

Andy Woods

Saturday 26 February 2011 12:25:05 pm

Sorry but I can't see how that link helps me to solve this problem.

Can you tell me what steps I need to take please?

Thanks,

Andy

Marko Žmak

Saturday 26 February 2011 1:10:46 pm

Andy, you should download and install the extension Theodoros mentioned (you'll probably find the instructions in the extension files), and then you will have a new datatype for your classes that can be used for birth date.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth