Hi there Jay Dog,
this...
Code:
if (month = 1) {
month = "January";
}
...should be...
Code:
if (month == 1) {
month = "January";
}
...and similarly for the other eleven. 
Alternatively you could try it like this...
Code:
var ary=["February","February","March","April","May","June","July",
"August","September","October","November","December"];
time = new Date();
var today = new Date();
var dat = today.getDate();
var month=ary[today.getMonth()];
var year = today.getFullYear();
var dayN = today.getDay();
//time object
var seconds = time.getSeconds() - 29;
var minutes = time.getMinutes() - 5;
var hours = time.getHours();
if (seconds < 0) {
seconds = 60 + seconds;
minutes = minutes - 1;
}
if (minutes < 0) {
minutes = 60 + minutes;
hours = hours - 1;
}
while (hours > 12) {
hours = hours - 12;
}
if (hours < 10) {
hours = "0" + hours;
}
if (minutes < 10) {
minutes = "0" + minutes;
}
if (seconds < 10) {
seconds = "0" + seconds;
}
Clock_text.text = hours + ":" + minutes + ":" + seconds + " " + dat + " " + month + " " + year;
coothead
Bookmarks