Please consult the original documentation for examples and more information. Usage Example: $format = “‘l M j, y \a\t g:iA'”; date($format, strtotime($date_str) Result: “Thursday Nov 29, 07 at 2:09PM” Format Character Description Example returned values Hour H 24-hour format of an hour with leading zeros 00 through 23 G 24-hour format of an hour without […]
Archive for November, 2007
PHP Date Format Cheat Sheet
Thursday, November 29th, 2007Customize Pligg with Your Own Design
Thursday, November 8th, 2007Last week, I spent some time customizing a Pligg installation. After reading many pages of code to familiarize myself with the process, I decided to share my findings in hopes that it will be helpful to some others who also need to customize the look of a Pligg site. This was my first time installing […]
CSS … be careful when using wildcard *
Saturday, November 3rd, 2007I was working on a project today and found that the content in a table I created all squeezed together, even though that I had set “cellspacing=10”. After some investigation I found that in the CSS code, padding and margin of all elements was removed: body * { margin: 0; padding: 0; } I could, […]