Dear All,

The problem I'm facing now is when I set my DateTimePicker format yyyy-MM-dd, when I put a date in that column, they will auto generate the time now.

For example, i entered 2011-03-30 but they will save in database 2011-03-30 10:56:54 AM.

Question here is:

How can I do where i want it to be "2011-03-30 00:00:00" ?

Kindly advice

Appreciate if you guys can help me on this...

Thank Q

Recommended Answers

All 3 Replies

I have done it.... Heeee.....=)

Congrats,

May be it was by using "DateTime.Now().ToShortDateString()".

Finally, Why don't you mark this as solved .

thanks

I just modified in Properties... Is it ok?

And one more question here can we have datetime selection in monthcalendar?

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.