CodeUnit WordPress PHP: Get the Month and Year of the Newest Post on Your Blog January 2, 2012 by Craig Lotter No Comments To retrieve the month and day of the newest post on your blog via PHP (which you could of course include in a function) is... Read More
CodeUnit WordPress PHP: Get the Month and Year of the Oldest Post on Your Blog December 23, 2011 by Craig Lotter No Comments To retrieve the month and day of the oldest post on your blog via PHP (which you could of course include in a function) is... Read More
CodeUnit JavaScript: Calculate the Number of Days in a Month September 2, 2011 by Craig Lotter No Comments A simple way to calculate how many days are in a month in Javascript is to leverage Javascript's built in date overflow feature - basically... Read More
CodeUnit JavaScript: Calculate the Number of Days in Last Month and Set a Date Range for it July 1, 2011 by Craig Lotter No Comments A simple way to calculate how many days are in a month in Javascript is to leverage Javascript's built in date overflow feature - basically... Read More
Programming PHP: Calculating the Number of Days in a Month April 18, 2009 by Craig Lotter No Comments Wow, stumbled across this extremely clever, one line of PHP code to return the correct number of days for any given month, courtesy of the... Read More