Hi guys

probably quite a common question but I've imported both java.sql.* and java.util.* and want to create an sql Date variable. What's the syntax to declare the variable from the sql class. I'm getting an error message that there is contention between the .util and .sql class.

Thanks

Thanks for the help.

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.