Results 1 to 11 of 11
Thread: ...
Hybrid View
-
9th October 2004 11:34 #1
-
9th October 2004 17:46 #2
<script type="text/javascript">
<!--
var currentTime = new Date()
var hours = currentTime.getHours()
var minutes = currentTime.getMinutes()
if (minutes < 10)
minutes = "0" + minutes
document.write(hours + ":" + minutes + " ")
if(hours > 11){
document.write("PM")
} else {
document.write("AM")
}
//-->
</script>
http://www.tizag.com/javascriptT/javascriptdate.php
, , ,
-
9th October 2004 18:16 #3
-
9th October 2004 19:04 #4
-
9th October 2004 19:31 #5
/OFF Javascript Pascal i C. - ECMA , . ., , ( ) ECMAScript .
PERL, PHP ASP. , 3 , , , .By replacing numbers with their logarithms, you just turn a multiplication problem into an addition problem.
-
9th October 2004 21:21 #6
-
9th October 2004 21:32 #7, ... ...Originally posted by Pa3KaTaH
VLADO, ,
... ...
... ... ...
. 20 4- ...
Last edited by VLADO; 9th October 2004 at 22:54.
-
9th October 2004 21:56 #8
Join Date: Nov:2001
Location: Des Moines, Iowa
Posts: 4,284
.... ... ... ...
-
9th October 2004 22:10 #9
-
9th October 2004 22:17 #10
-
9th October 2004 22:19 #11
http://www.javascriptmall.com/jsc/jsC4Udate.htm
............................
<SCRIPT Language="JavaScript">
<!-- hide from old browsers
function GetDay(intDay){
var DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday")
return DayArray[intDay]
}
function GetMonth(intMonth){
var MonthArray = new Array("January", "February", "March",
"April", "May", "June",
"July", "August", "September",
"October", "November", "December")
return MonthArray[intMonth]
}
function getDateStrWithDOW(){
var today = new Date()
var year = today.getYear()
if(year<1000) year+=1900
var todayStr = GetDay(today.getDay()) + ", "
todayStr += GetMonth(today.getMonth()) + " " + today.getDate()
todayStr += ", " + year
return todayStr
}
//-->
</SCRIPT>
.....................
,
, , :
<SCRIPT Language="JavaScript">
<!-- hide from old browsers
document.write(getDateStrWithDOW())
//-->
</SCRIPT>
- 2 ,
1
<font size=2> <SCRIPT Language="JavaScript"> document.write(getDateStrWithDOW())</SCRIPT></font>
, , JS todayStr
.. :
var test = "";
var blah = "ole";
test += "<font size=2>"
test += blahl;
test += "</font>"




Reply With Quote


Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in