Jump to content

Display "n" in a date fucntion


amites

Recommended Posts

I have a simple question for anyone that knows it,

 

how I can I display an "n" in a date function

 

for example I have

 

return date("ga \o\n  l\, jS \o\f F Y ", $date_val);

 

that returns:

 

Tuesday, 30th o November 1999, between 12:00 am - 1:00 am

 

with o followed by a new line rather than the word on,

 

any ideas?

Link to comment
https://forums.phpfreaks.com/topic/89023-display-n-in-a-date-fucntion/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.