List:General Discussion« Previous MessageNext Message »
From:Douglas Brantz Date:March 22 1999 1:29am
Subject:TimeStamp display Solved
View as plain text  
I read some of the manual today and found out how to splash out the
TimeStamp in a way that I like.  If anyone has a better way of doing
this please let me know,


print $query->start_html(-title =>'Date Info',-BGCOLOR=>'white');
print "</center>";
print "<center><table><tr><td align=center>";
print "Date of Test</td></tr>";
my $sth1 = $dbh->Query("select date_format(td, '%W %M %D %Y %r') from
answers where test=\"1\" ")
or die $Mysql::db_errstr;
while (@record = $sth1->FetchRow)  {
$cool = $record[0]; $bar = $record[1];
print "<tr><td>$cool</td></tr>";
}
print "<center>";
print "</table>";

Thanks,

Douglas

Thread
TimeStamp display SolvedDouglas Brantz22 Mar