This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws IOException, ParseException { | |
String strDate = "2011-01-12 07:50:00"; | |
DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | |
Date date = formatter.parse(strDate); | |
System.out.println("Date="+date); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DigestUtils.md5Hex( Url ) | |
//http://commons.apache.org/codec/api-release/org/apache/commons/codec/digest/DigestUtils.html |