Posted By


peceps on 10/28/10

Tagged


Statistics


Viewed 550 times
Favorited by 0 user(s)

convertJavaToMootolsDateTimeFormat


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private String convertJavaToMootolsDateTimeFormat(String javaDateFormat) {
  2. 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");
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.