Author: Dmitri
Email: [EMAIL PROTECTED]
Message:
I use search.cgi
Here is what I have in htdb:/

HTDBDoc \
SELECT concat( \
'HTTP/1.0 200 OK\\r\\n',\
'Content-type: text/html\\r\\n',\
'Last-Modified: ',Date_format(lastpost,'%a, %d %b %Y %T'),' GMT\\r\\n',\
'\\r\\n',\
'<HTML><HEAD>',\
'<TITLE>',title,'</TITLE>',\
'<META NAME="Description" Content="',title,'">',\
'<META NAME="Keywords" Content="',title,'">',\
'</HEAD>\\n',\
'<BODY>\\n',text,'\\n</BODY></HTML>'\
) \
FROM forum.thread \
WHERE id='$1'

Now the lastpost is in the timestamp format like this: 980324760

How can I convert it to regular date and time format?


Reply: <http://www.mnogosearch.org/board/message.php?id=4260>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to