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


Zend Developer Zone:
ZendCon Wrapup
0 comments :: posted Monday November 06, 2006 @ 08:33:00
voice your opinion now!

Cal Evans of Zend's Developer Zone (one of the attendees and facilitators of the conference) has posted his own wrapup of life in San Jose for that week, including candid shots and tons of great info for the week.

As I write this, it's Sunday. I'm sitting here in the lobby of the San Jose Doubletree Hotel. [...] Now that I've had a chance to relax and gather my thoughts, let's glance back over the shoulder before packing up for the next conference.

For each day, he gives the highlights, both of the people he met and of the talks/tutorials attended. There's even a few special announcements included that happened during the week - like about the new ZendBox the company will be offering. After-hours activities were mentioned as well, including the "Pirate Party" IBM threw the last night of the conference.

tagged with: zendcon2006 wrapup week doubletree sanjose photo talk tutorial people zendcon2006 wrapup week doubletree sanjose photo talk tutorial people


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

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