Forums / Setup & design / Unix timestamp problem

Unix timestamp problem

Author Message

Kjerand Pedersen

Monday 28 July 2003 12:10:54 pm

I'm using a date-field in a class where I store the date of birth and use this to determine and print the age of the person registered. However, today I tried to register someone who is born prior to 1970. The date entered in the datefield will not be stored.

Isn't it possible to have a timestamp with a negative values? Or is the timestamp saved as an unsigned number? Any way to get by this problem?