-- define the standard HTTP header set LF to ASCII character (10) set CR to return set CRLF to CR & LF set http_10_header to "HTTP/1.0 200 OK" & CRLF & Â "Server: MacHTTP" & CRLF & Â "MIME-Version: 1.0" & CRLF & Â "Content-type: text/html" & CRLF & CRLF -- get the date and time set theDateAndTime to the (current date) as string -- return the results as an HTML file return http_10_header & Â "" & Â "
" & Â "