Removed monthname() and replaced with proper strftime() calls.