These are some readers' responses. Read the full article to see what all the fuss is about.
-
Popular
Categories
- .Net & C# (1)
- Architecture (3)
- C++ (5)
- Coding (4)
- Copyright, etc. (3)
- HTML/CSS (2)
- Java (14)
- JavaScript (6)
- JUnit (3)
- Recommendations (9)
- Risks (8)
- Software projects (2)
- SQL (4)
- Testing (6)
- Tools (5)
- Usability (1)
- Web (5)
- Web publishing (16)
- Windows (1)
- WordPress (27)
24 responses
Other comment pages: [1] 2 »
Sir,
i have one doubt, i have get the date from date picker to textbox. That date will converted to SqlDate. But error will be displayed. That error has been optional feature has been not availble. This error has what type of error.? Please send to me.
Mr. Saravanakumar,
I believe you are from India - Tamilnadu. You need to improve your english.
import java.util.*;
import java.text.*;
public class ShowToday {
public static void main(String args[]) {
ShowToday st = new ShowToday();
st.demo();
}
public void demo() {
System.out.println(easyDateFormat(”dd MMMMM yyyy”));
System.out.println(easyDateFormat(”yyyyMMdd”));
System.out.println(easyDateFormat(”dd.MM.yy”));
System.out.println(easyDateFormat(”MM/dd/yy”));
System.out.println(easyDateFormat(”yyyy.MM.dd G ‘at’ hh:mm:ss z”));
System.out.println(easyDateFormat(”EEE, MMM d, ”yy”));
System.out.println(easyDateFormat(”h:mm a”));
System.out.println(easyDateFormat(”H:mm:ss:SSS”));
System.out.println(easyDateFormat(”K:mm a,z”));
System.out.println(easyDateFormat(”yyyy.MMMMM.dd GGG hh:mm aaa”));
public String easyDateFormat (String format) {
Date today = new Date();
SimpleDateFormat formatter = new SimpleDateFormat(format);
String datenewformat = formatter.format(today);
return datenewformat;
}
}
chukked, please elaborate!
Other comment pages: [1] 2 »