Prints date/time as specifies
Accept port number on command line and adds '\n' to end of datetime string
Adds official solution which doesn't use the strftime module