Posted: Sat Mar 07, 2009 8:14 pm HELP!! how to display TIME STAMP to the other CELL
Anyone, please I need help on how to display TIME STAMP to the other CELL.. I would like to create a website where I can click a button then it will display the time stamp next to it in html code..
can you correct my code?
<SCRIPT LANGUAGE="JavaScript">
function TIMESTAMP();
{
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = Stamp.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum