Forums / Setup & design / Unix timestamp problem

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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?