listscript fcgi id=2









var DDMMYY =0
var MMDDYY =1


//skrypt pochodzi z zasobów
//www.dhtml.helion.pl

function getdate(mode)
{
var now = new Date();
var dayNr = ((now.getDate()= 12) ? " P.M." : " A.M."
var hours = now.getHours();
hours = ((hours > 12) ? hours - 12 : hours);

var minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();
var seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();
var TimeValue =(" " + hours + minutes + seconds + " " + ampm);

return TimeValue;
}//-->






Data[skrypty]

document.write(getdate(DDMMYY));


<script language="javascript">
var DDMMYY =0
var MMDDYY =1


//skrypt pochodzi z zasobów
//www.dhtml.helion.pl

function getdate(mode)
{
var now = new Date();
var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
if (mode==DDMMYY)
var MonthDayYear =(dayNr+"/"+(now.getMonth()+1)+"/"+now.getYear());
else
var MonthDayYear =((now.getMonth()+1)+"/"+dayNr+"/"+now.getYear());

return MonthDayYear;
}

function gettime()
{
var now = new Date();

var ampm = (now.getHours() >= 12) ? " P.M." : " A.M."
var hours = now.getHours();
hours = ((hours > 12) ? hours - 12 : hours);

var minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();
var seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();
var TimeValue =(" " + hours + minutes + seconds + " " + ampm);

return TimeValue;
}//-->
</script>
<script language="javascript">document.write(getdate(DDMMYY));</script>


Wyszukiwarka

Podobne podstrony:
listscript fcgi id=33
listscript fcgi id=96
listscript fcgi id=61
listscript fcgi id=45
listscript fcgi id=6
listscript fcgi id=124
listscript fcgi id=90
listscript fcgi id=87
listscript fcgi id=57
listscript fcgi id=54
listscript fcgi id=22
listscript fcgi id=151
listscript fcgi id=5
listscript fcgi id=39
listscript fcgi id=47
listscript fcgi id=89
listscript fcgi id=157
listscript fcgi id=108

więcej podobnych podstron