#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
TZ=Europe/Berlin
export HOME PATH TZ
# echo "Content-type: text/plain"
# text/plain was small, I want Big to stop people phoning at stupid times.
echo "Content-type: text/html"
echo
echo "<HTML><BODY><H1>"

# This works to a normal shell in Ascii, but not via HTML,
# where %n line feeds get ignored of course:
#	/bin/date "+%Y %m %d %H:%M:%S%nYear Month Day Hour:Minute:Second%n(CET=Central European Time, CEST=Central European Summer Time)"

# /bin/date "+%Y %m %d %H:%M:%S"

/bin/date "+Time: %H:%M:%S <BR> Munich, Germany, Europe <br> Year:%Y Month:%m Day:%d "
# line feeds fail on this below too:
#	/bin/echo 
#	/bin/echo "Year Month Day Hour:Minute:Second"
#	/bin/echo 
#	/bin/echo "(CET=Central European Time, CEST=Central European Summer Time)"
echo "</H1></BODY></HTML>"

