/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
return javaDateFormat.replaceAll("yyyy", "Y").replaceAll("MM", "m").replaceAll("dd", "d").replaceAll("HH", "H").replaceAll("hh", "I").replaceAll("mm", "M").replaceAll("ss", "S").replaceAll("a", "p"); }