import java.text.SimpleDateFormat; import java.util.Date; public class JavaSimpleDateFormatOrnek{ public static void main(String args[]){ Date date = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); System.out.println("Bu gün " + sdf.format(date) ); } }
Tags: Örnek, date, Java, SimpleDateFormat, tarih
This entry was posted
on Friday, February 19th, 2010 at 16:29 and is filed under Yazılım.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Cevap veya Yorum Yaz