07-01-2010, 07:05 PM
Hi all,
In a project I'm working on I have to get a date that the user inputs. I have my program to get strings from the user, and then I have to parse a dateFormat to be able to work with Dates. But I just don't understand parse(String source) works. I read the Java documentation, but I'm still clueless. Can somebody give me an example on how to parse dateFormat from a String?
Thanks in advance.
In a project I'm working on I have to get a date that the user inputs. I have my program to get strings from the user, and then I have to parse a dateFormat to be able to work with Dates. But I just don't understand parse(String source) works. I read the Java documentation, but I'm still clueless. Can somebody give me an example on how to parse dateFormat from a String?
Thanks in advance.