r/javahelp • • Jan 29 '26

Convert string into java.util.date

I have two string, date (formatted yyyy-MM-dd) and time (HH:mm), how can I convert them into a java.util.date? Date.parse is deprecated

5 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/Dependent_Finger_214 Jan 29 '26

I'm working on a project thats due tomorrow. You're totally right that ideally I should replace it, but I just don't have the time lol.