DATA Methods
Database functions
select(), fetch(), write(), update(), delete(), execute(), tables(), fields()Requests and temporary storage
request(), cookie(), session(), config(), store()Formatting data
encode(), decode(), json(), text(), date(), weekday(), month()Template data
content(), parents(), directory()
month()
Show name of month, according to language settings and as defined in config file.
string month( date sql_date )
Return
Name of month according to language settings.
Parameter
Description
sql_dateSQL formatted date or any other date type value.
Show name of month
$DATA->month("1999-12-24")
RETURN: 'December'
Show name of month of other date type value
$DATA->month("24.12.1999")
RETURN: 'December'