SyntaxFix
Write A Post
Hire A Developer
Questions
Class java.sql.TimeStamp extends from java.util.Date.
java.sql.TimeStamp
java.util.Date
You can directly assign a TimeStamp object to Date reference:
TimeStamp
Date
TimeStamp timeStamp = //whatever value you have; Date startDate = timestampValue;