JavaScript İle Tarih ve Saat

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>New Page 1</title>
</head>

<body>
<script language="JavaScript">
<!-- Sakla
  bugun = new Date()
  document.write("Saat şu anda: ", bugun.getHours(), ":", bugun.getMinutes(), "<BR>");
  document.write("Tarih ise: ", bugun.getDate(),"/", bugun.getMonth()+1,"/",bugun.getYear());
// -->
</script>
</body>

</html>

Be the first to comment

Leave a Reply

Your email address will not be published.


*