O'Reilly Forums: Ex 3-12 Explaination - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ex 3-12 Explaination "l F jS Y"??????

#1 User is offline   YozMan 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 11-August 11

Posted 14 August 2011 - 12:45 AM

In example 3-12 you use this:

"l F jS Y", $timestamp


but you never fully explain what's going on there... meaning, what do those letters stand for and what is their function?

Thanks,
~Yoz
0

#2 User is offline   webSoongi 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 24-August 11

Posted 27 August 2011 - 09:49 AM

View PostYozMan, on 14 August 2011 - 12:45 AM, said:

In example 3-12 you use this:

"l F jS Y", $timestamp


but you never fully explain what's going on there... meaning, what do those letters stand for and what is their function?

Thanks,
~Yoz


He said it's the function date(). A quick search for "php date" brought this info as the first result: http://php.net/manua...nction.date.php

The important thing here is that, that example is an example of a function. The point was to show how a function is created. It's a real, working example. It uses a PHP function called date(). But the purpose of that example, in that chapter, had nothing to do with the actual function date(). So it's understandable that he didn't explain how to use it.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users