Year shows up as "0000"

rayshao

New member
Hi, I am testing my database and have a "date" field.

I noticed that whatever date I put in for a new entry, in the rests page the year later shows up as "0000". The day and month show up fine. I'm thinking maybe it has something to do with the "general_functions.php" file? But I never altered that file from the default.

When I go into the actual MySQL database, the date field shows the year correctly entered as I initially put in. So there must be something wrong occurring when it tries to retrieve the year data and display it in Dadabik. The MySQL database field for the date is set to "date" (not "varchar" or anything), so that shouldn't be the issue...

If someone knows what might be the issue I'd appreciate it. Thanks!

-Ray
 

DebbieS

DaDaBIK Guru
Is this located somewhere it can be viewed?
The dadabik install is configured to display this field as a date also?
 
Top