Hello,
I've DOB field in my database with date datatype.
Bt when I enter 1 March 1980 from front end it stores 29 Feb 1980 in database.
Can anyone help me?
Thanx a lot in advance.

Is the database being told to store 1980-03-01 or a unix timestamp or a day in the year number, which when read back gets converted to 1980-02-29, based on its day number.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.