Date Problem with \n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux