NancyL7 Posted October 2, 2006 Posted October 2, 2006 Hi, I'm trying to get a heading to read: Specials for <current_month> like Specials for October I made a variable: define('BOX_HEADING_SPECIALS_LIMITED_TIME', 'Specials for %s'); I think I put the heading in as: sprintf(BOX_HEADING_SPECIALS_LIMITED_TIME, <something>); Does anyone know what the function would be to return the current month (spelled out)? Thanks! Nancy
Guest Posted October 2, 2006 Posted October 2, 2006 This should do it: date('F'); See Date function documentation.
NancyL7 Posted October 2, 2006 Author Posted October 2, 2006 This should do it: date('F'); See Date function documentation. THANKS!! -Nancy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.