prosportal
13 Jun 2010, 03:33 PM
[SOLVED]
I'm stuck using unixtime on this database.
Anyway, part of this script inserts a unixtimestamp into the db, only the timestamp is the 12 hours behind. Any ideas?
elseif ($now < ($RecDate + 43200)):
$nextVote = $RecDate + 43200;
//$msg = "<b>". strtoupper($ACusername)."</b><br> has already voted on" . date('D \a\t h:i a',$RecDate) . "<p>You can vote again on ". date('D \a\t h:i a',$nextVote);
The results show the opposite am/pm
I'm stuck using unixtime on this database.
Anyway, part of this script inserts a unixtimestamp into the db, only the timestamp is the 12 hours behind. Any ideas?
elseif ($now < ($RecDate + 43200)):
$nextVote = $RecDate + 43200;
//$msg = "<b>". strtoupper($ACusername)."</b><br> has already voted on" . date('D \a\t h:i a',$RecDate) . "<p>You can vote again on ". date('D \a\t h:i a',$nextVote);
The results show the opposite am/pm