Why do we keep making such Bad Design?

This will do the same as the example above – just in one line. As an argument you can pass any valid php date format string. If you don't pass any string the function will return a unix timestamp, which you can use to make some more fancy php date calculation stuff.

Inside each article folder, add a blogarticle.txt. By naming it like this, we can later add a blogarticle.php template to our template folder and create a specific template for all articles.

Add three fields to your blogarticle.txt

 Title: This is my first Article
 Date: 08.12.2011
 Text: Hello World!