Date Problem with \n

From: Date: Mon, 13 Aug 2007 17:50:29 +0000
Subject: Date Problem with \n
Groups: php.general 
Request: Send a blank email to php-general+get-260780@lists.php.net to get a copy of this message
Small issue with formatting a date. If I type in this: echo date("g:i:s a \o\n l F j, Y"); the "n" character in the word "on" doesn't appear, but instead what I get is a new line in the source code. If I type it as: echo date("g:i:s a \on l F j, Y"); I get the number 8 (current month) where the n is supposed to be. Is there any way to get an "n" in there? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada College www.wnc.edu 775-445-3326 P.S. Please note that my e-mail and website address have changed from wncc.edu to wnc.edu.

« previous php.general (#260780) next »