MyBB Community Forums

Full Version: the year is 1969 !!!!!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

can someone tell me what the hell is that!?
now Wednesday, 31 December 1969 on my forum
how can i change it to 2010?
You mean the time in the welcomeblock?? You'd need to ask your host about that, it's just using the server time.
the welcomeblock is correct, but i think it's on the templates

that's my forums www.kurdishrap.net/yane
i checked ur forum ...it's OK
كاتی ئێستا: 08-23-2010, 11:14 AM

if u see 31 December 1969 same where .. pleas show us screenshot

Regards
that is the screenshot
[Image: Untitled-1_copy.jpg]
It's fine for me too. :s
this date is inserted by javascript (at least I don't see it when I disable javascript)

so it could be your system time being weird, or your javascript having errors
Either your computer time is completely wrong (unlikely) or you have a host that has been hacked.
thanks guys

i found this in the Header Templates
<!-- date -->
<p class="smalltext" id="mybb_date">
<script language="JavaScript" type="text/javascript">
var days = new Array(8);
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday";
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear =+ dateObj.getFullYear()
document.write(wday + ", " + date + " " + lmonth + " " + fyear)
</script>
</p>
<!-- /date -->
cleared it, now its good