0

I'm trying to make a literal T in a PHP date() function. I have the following line in my PHP:

echo date ("F j, Y \a\t g:i A", filemtime($htmlname));

But this, instead of printing out a T, it prints out a tab character. I could change the ""s surrounding the date format to '', but that's not what I want.

In summary, I was wondering if it was possible to make a literal T inside of single-quotes.

4

1 回答 1

2
echo date ('F j, Y \a\t g:i A', filemtime($htmlname));

将日期格式放在单引号而不是双引号中。

于 2013-02-17T07:12:24.757 回答