Hi friends,
I'm creating a website for my college project.
on clicking submit button on the feedback form, i want to retrieve current date and then store it along with entered details in the MS SQL database.
I don't know how to do it.

Can you please help me?

I'm doing the project using JSP and html pages and am using netbeans and tomcat.

Please help...!!

You could probably set the default field value for new records to Now() from within MS SQL

i know this works for ms access/asp.net

In column properties set default value = getdate()

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.