echo strftime('%T') why the reference does't work?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tsmg
Forum Newbie
Posts: 7
Joined: Mon Oct 26, 2009 1:57 am

echo strftime('%T') why the reference does't work?

Post by tsmg »

the result is emptiy!

in normal ,it should return the time now!
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: echo strftime('%T') why the reference does't work?

Post by requinix »

Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). Additionally, not all platforms support negative timestamps, so your date range may be limited to no earlier than the Unix epoch. This means that %e, %T, %R and, %D (and possibly others) - as well as dates prior to Jan 1, 1970 - will not work on Windows, some Linux distributions, and a few other operating systems. For Windows systems, a complete overview of supported conversion specifiers can be found at » MSDN.
tsmg
Forum Newbie
Posts: 7
Joined: Mon Oct 26, 2009 1:57 am

Re: echo strftime('%T') why the reference does't work?

Post by tsmg »

Thank you! :)
Post Reply