Jump to content

new Timestamp(long) why it doesn\'t work?


mmww

Recommended Posts

Hi,

there is a constructor Timestamp(long)  which I can't use. I get error:

"Timestamp cannot be resolved to a type" of course my field is java.sql.Timestamp.

I tried also new Timestamp(109,10,10,20,20,20,0) this alsow fail.

any help?

 

Or do you konw how to add some time (example 2hours)  to Timestamp field ??? 

 

please, I really need it :)

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...