A Text Date - JxPharmacy - Doc JavaScript | 2
Code (A Text Date)
<SCRIPT LANGUAGE="JavaScript">
<!--
// Copyright (c) 2000 internet.com Corp.
// https://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.
function makeArray() {
var args = makeArray.arguments;
for (var i = 0; i 0)
date.setTime(date.getTime() - skew);
}
function getString(date) {
var months = new makeArray("January", "February", "March",
"April", "May", "June",
"July", "August", "September",
"October", "November", "December");
return months[date.getMonth()] + " " +
date.getDate() + ", " + (1900 + date.getYear());
}
var cur = new Date();
fixDate(cur);
var str = getString(cur);
document.write(str);
// -->
</SCRIPT>
Created: November 6, 1997
Revised: December 4, 1997
URL: https://www.webreference.com/js/pharmacy/datecode.html