Create Timestamp object with date

Hi i’m looking for some function or how to write a java service that converts the given date to timestamp object.
Urgent plz someone help.

Thanks
Venu