Your Ad Here

Posted By

indianocean on 08/03/07


Tagged

date java


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

rtipton


Date as formated String


 / Published in: Java
 

  1. Date datum = new Date();
  2. SimpleDateFormat formater = new SimpleDateFormat("MM.dd.yyyy");
  3. String curDate = formater.format(datum);

Report this snippet  

You need to login to post a comment.