I tried searching the forums but had no luck.
I've got a field containing a birth date stored in a MySQL database in DATE format. When extracted it looks like 'YYYY-MM-DD'.
If I try to parse this string using date() or strftime() and the date is actually before 1970-01-01 I get different results but none of them is the correct one.
It seems like when converting the date to a timestamp, the returned integer is a wrong value and not the actual representation of the date (maybe because timestamps start at 1970-01-01 ?)
is there any way to extract the day, month and year from a date before 1970-01-01 ??