<SCRIPT LANGUAGE="JavaScript">

RightNow = new Date();
document.write("It's now " + (RightNow.getHours()) + ":" + (RightNow.getMinutes()) + ", on " +
RightNow.getDate() + "-" + (RightNow.getMonth()+1) + "-" + RightNow.getFullYear() + ".")

</SCRIPT>
This is the code I use to obtain the localtime of my visitors...

if ($submitmsg == "SUBMIT") {
$shoutout = "INSERT INTO shoutout SET
poster='$postername',
msg='$message',
time='blablabla'";
This is the code I use to insert some messages that visitors submitted via the form to a mysql db.

How can I insert the time that the javascript get from visitors to my mysql db? Can anyone plz help?