Formate date in JavaScript : Date Format : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Development   » [  Date Format  ]   
 



Formate date in JavaScript

Please note that some example is only working under IE or Firefox.

<html>
<head>
<title>DynAPI Examples - Functions</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.library');
dynapi.library.include('dynapi.functions');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<font face="arial" size="2">
<script>
var doc=document;
f=dynapi.functions;


doc.write('formatDate: '+f.formatDate(new Date(),'dddd, mmmm dd, yyyy'));
</script>
</font>
</body>
</html>

           
       
Download: dynapi.zip   ( 791  K )  
Related examples in the same category
1.  Formats the current date and the "last modified" date of the documentHas Download File
2.  Formats the current date and the 'last modified' date of the document
3.  Creating a Friendly Date String
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.