Long time ago, i have a post about date validation in Java using SimpleDateFormat.
Java – Date validation using SimpleDateFormat
The SimpleDateFormat can format a Date object into string. See the following example. Continue reading Java – Convert Date to Formatted String
I need to write a program which reads a date string. The program then archives all the data on the server with the input date as an cut off date.
The following java program is based on the tutorial in </dream.in.code>. It reads a date string, validate it and print the number of date difference between today and the input date.
Continue reading Java – Date validation using SimpleDateFormat