News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

ThinkPHP Blog:
Put out the age of a date in words
0 comments :: posted Friday April 11, 2008 @ 10:37:53
voice your opinion now!

On the ThinkPHP blog today, Annika Rabea shares a method for outputting dates in words rather than in the usual numbers most applications use.

Recently, I have to output the age of a date in words and didn't have a framework to work with. The first steps were to parse the given date into an array and create a timestamp with the individual parts. The difference between the timestamp of now and the created timestamp yielded the age in seconds. The result can be used to compare with seconds of a day, week, etc.

The code snippet in the post outputs the difference between two timestamps (then and now) it a bit more friendly way (ex. 4 months, 2 weeks, 2 days).

tagged with: date format timestamp week month day output


Christopher Kunz's Blog:
First Day of the PHP Vikinger
0 comments :: posted Saturday June 24, 2006 @ 07:38:23
voice your opinion now!

Christopher Kunz has posted this summary of his experiences (so far) at the PHP Vikinger conference for this year.

For about 4 hours now, the PHP Vikinger is in full swing. Everyone arrived between 10 and 11, and together we hacked up a makeshift agenda. Remember that this is an "unconference", so attendees are in full charge of the whole event. Our lead viking Zak, inspired by the mighty power of Thor himself, took it upon him to moderate the scheduling and get everything started. Now, everyone who wants gets up and does a presentation, starts a discussion or - as Kris is currently doing - stipulates brainstorming with the attending core developers and other PHP nerds.

He also mentions a discussion about what PHP's lacking and a talk from Ilia about PHP security issues. Sounds like things are going great so far!

tagged with: phpvikinger2006 conference first day summary phpvikinger2006 conference first day summary


application releases zendframework release ajax framework code zend pecl conference job PEAR package developer cakephp book security PHP5 database mysql

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework