DATA Methods

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'