Hi there,

I do have a database and I am using sql command to insert data in it.

Date field is set to datetime (03/01/1900 00:00:00)

In the field either there is a date only or it is empty.

What I want to do is: Insert current+2yrs date even the field is full or empty

Problem is: looks like field however set to 01/01/1900 (unseen able) when I do update this field I SET date field to 1 example and field goes to 02/01/1900..

Any Idea?

Thanks

Problem solved !

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.