Re: how to validate date and time format in java
Monday, October 8, 2007 08:04 PM
I'm not familiar with all the different kinds of date/time formats, but don't you just supply your template string to the SimpleDateFormat constructor?
I don't know what your "T" is supposed to mean, between your DD days and your hh hours? maybe that's the problem? sorry if it's obvious.