Derick Rethans' Blog: Calculating start and end dates of a week
686724
With just a quick handy code snippet posted on his blog today, Derick Rethans shares these two lines to help grab the start and end dates of a week in question.   A friend asked "How do I calculate start (monday) and end (sunday) dates from a given week number for a specified year?" Instead of having to come up with your own algorithm you can simply do the following in PHP 5.1 and higher.   The code makes use of the ISO8601 datetime functionality to grab the correct value from a strtotime command. Derick also briefly explains how it all works.
80161
Now that it's all wrapped up, Chris Shiflett has posted his own look back at the PHP Advent calendar he coordinated.   Coordinating this turned out to be a lot of work, but I hope to do it again next year. [...] With a little bit of prodding, we all hopefully learned a little more than we would have otherwise, and the people who were gracious enough to share something deserve our thanks.   You can check out his post (and, of course, our own) for a complete list of all twenty-four days.
344660
Oggi in calendario numerosi dati macroeconomici di rilievo
432285
(Corrects dates: in paragraphs 4, 9 and 16 ...Sept... instead of ...Aug... and in paragraph 7...Sept. 8 to 9...instead of...Aug. 2 to 3.).
580597
Mike Potter (from Adobe) has issued an invitation for all PHP and Ruby developers attending the MAX Conference to track each other down, as well as him.   I think this would be a perfect time for these groups of people to get together, showcase what you're working on, and talk about the problems that you're facing.  We're working out the details of MAXUP, but if you're going to MAX, plan on arriving on the Sunday so that on Monday we can get together and showcase and talk about the work that's going on with Flex and languages other than Java and ColdFusion.   He suggests using the entry's comments to help coordinate the meetings. The Early Bird pricing is still in effect for the conference, so there's no time like the present to reserve your spot.
648973
On his blog today, Joakim Nygard has posted about the use (or disuse) of time zones in PHP:   The problem with not handling timezones correctly is not apparent in the usual case of the webserver and the database server being in the same timezone. [...] Often a specific timezone is assumed for displaying date and time. This could very well be incorrect for a large number of visitors. If the database server is in yet another timezone, things begin to get out of sync.   He mentions the time zone functionality that MySQL offers too, but notes that it cannot be relied on either. Thankfully, there's is a bit of hope in PHP5 (as of 5.1 in fact) - the date_default_timezine_set function. He includes an example of the function in use, making it simple to get the correct date and time automatically with the date() function without having to do any hacks to discover the correct time zone.
414300
The PHP London conference has officially released their schedule for this year's event. It includes speakers like Wez Furlong, Rob Allen and Derick Rethans and combines several different talks into one day of PHP goodness.   This year's event is happening at the headquarters of Inmarsat Limited (location and maps can be found on the venue page). Registration is now open and you can still get in on the Early Bird discount of &pound;90.   Be sure to check out the list of talks they have planned and the rest of the details on their site and be sure to reserve your spot today!
675062
With JavaScript you can display and manipulate the date and time. You can calculate the days between dates, show new items on your Web site, etc. In this installment we'll take a look at the JavaScript Date() object and learn how to utilize it in our scripts. By Lee Underwood. 1011
347484
Sam  posts an interesting proposal.  This is better than the HTTP delta suggestion but still has a few issues.  The client needs to know the ETags before it can start performing differential fetches.  With date ranges you still preserve the initial archive query.  For example when you first subscribe to a feed you could fetch 30 days worth of posts.  If you like the feed you can even fetch *older* posts which could be really cool.  Also even if you still use faster checksum algorithm like CRC32 or Adler32 you still have an O(N) performance hit for your document.  If you have a btree on your post dates you will gave O(log(N)) for search for a much smaller string (64bit in most situations).  F ...
616513
Popular posts from PHPDeveloper.org for the past week:Community News: Namespaces in PHP6Mike Potter's Blog: Sample Code From PHP / Flex e-SeminarThe Bakery: PremierMarinas.com, ScienceHack.com and an iPhone AppPHP F1: PHP Session TutorialCommunity News: GoPHP5 Official SiteCommunity News: jPOP Framework - Javascript & PHPTim Koschuetzki's Blog: Composing Methods: Remove Assignments to ParametersAlexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymoreMatthew O'Phinney's Blog: File_Fortune refactoredSite News: Popular Posts for the Week of 07.06.2007
310656
Popular posts from PHPDeveloper.org for the past week:IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworksWeb Development Blog: Tutorial: FTP Upload via cURLJoey's Blog: 8 Practical PHP Regular ExpressionsJeff Moore's Blog: Keywords and Language SimplicityAlessandro Crugnola's Blog: AMFPHP and mbstringTravis Swicegood's Blog: Why Inheritance SucksStefan Mischook's Blog: Creating Custom PHP Functions Video Tutorial - Part 3Johannes SchlÃ¼ter's Blog: PHP 5.3 UpdateInternet Super Hero Blog: mysqlnd to support PDO, mysqlnd in PHP 5.3Jacob Santos' Blog: Object Oriented Programming Isn't Easy
584229
Popular posts from PHPDeveloper.org for the past week:Reinhold Weber's Blog: 40 signs you really are a lousy PHP programmerScott Klarr's Blog: PHP Cheat SheetsDeveloperTutorials.com: Building Desktop Applications in PHPPadraic Brady's Blog: The Zend Framework and Microformats: Zend_Microformat ProposedCommunity News: GoPHP5 Project Wraps UpJob Posting: Technology Resources, Inc Seeks Senior PHP Developer (New York, NY)Job Posting: Red Ventures Seeks Sr. Systems Analyst/Web Developer (Charlotte, NC)Community News: Forage - A Search Abstraction LayerCommunity News: php|architect Launches C7Y Site (News/Podcast/Forums)Richard Heyes' Blog: SMTP for PHP 5
522484
More than a few companies that you know -- and possibly own -- will be reporting earnings in the week ahead.
139275
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: Try-Catch Syntax WeirdnessPHPBuilder.com: Cross-Platform Database PHP DevelopmentIBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2OpenSourceCommunity.org: What do you think makes a good CMS?Jonathan Snook's Blog: Elemental: Conditional Content with CakePHPDevShed: The Basics of Using the Factory Pattern in PHP 5Builder.com.au: PHP exploit code plants itself in GIFJohn Cox's Blog:  Linux.com Now PHP PoweredNick Halstead's Blog: Solving Programming ProblemsPHP-Tools Blog: Testing FIT
437494
Popular posts from PHPDeveloper.org for the past week:PHPClasses.org: A PHP killer feature - Streams abstractionRob Thompson's Blog: Switch vs. IfPHPEverywhere: Octopussy numbers in PHPJob Posting: MODE Visual Seeks PHP Developer (Charlotte, NC)ProDevTips.com: Why PHP as a templating language sucksMatthew Turland's Blog: The Yin and Yang of TypingStubbles Blog: Stubbles 0.5.0 releasedChristopher Jones' Blog: Updated connection pooling in PHP's OCI8 extensionBen Ramsey's Blog: Congrats Costa Rica PHP!Carsten Lucke's Blog: Configuration issues with Xdebug on Debian Etch
447850
SAN FRANCISCO - Daylight-saving time begins Sunday, three weeks sooner than usual. Time to spin the dial on the kitchen clock - and to brace for computer problems. The early start wasn't programmed into many electronic devices. That's created plenty of work for Luis Rodriguez, a software director at IBM, and David Woelfle, an enterprise architect at Electronic Data Systems. The two tech experts have helped dozens of companies update computer systems for the change.
388816
Popular posts from PHPDeveloper.org for the past week:Dave Dash's Blog: nginx and symfonyZend Developer Zone: The ZendCon Sessions Episode 6: Project Management Methods to Maintain IT StandSitePoint PHP Blog: Tokenization using regular expression sub patternsIT Jobs Watch: Results for PHP Developers in LondonJob Posting: Digital River Seeks PHP Developer (Eden Prairie, MN)Dan Scott's Blog: Oooh...looks like I've got (even more) work cut out for meLeon Chevalier's Blog: Improve website load time by 500% with 3 lines of codePHPWomen.org: elePHPantsPhil Thompson's Blog: 7 PHP functions that saved my lifeStuart Herbert's Blog: Using suphp To Secure A Shared Server