KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Obtaining the name of the month for a given date
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: February 14, 2003

Compatibility: Versions: 6.7.x and 6.8.x

Here is a simple project method that returns the name of the month for a given date:

` Project Method: FN_MonthName
` $1 - Date
` $0 - Name of the month

C_TEXT($0)
C_DATE($1;$vdTargetDate)
$vdTargetDate:=$1
$0:=Get indexed string(11;Month of($vdTargetDate)+12)