DT_GetMonthName

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > DT (Date Handling) >

DT_GetMonthName

 

This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.

 

Description

 

Returns the month's name giving the month number.

 

Syntax

 

 DT_GetMonthName(MonthNumber, Type) AS STRING

 

Returns

 

String. The short or long form of month name.

 

Parameters

 

Name

Type

Optional

Meaning

MonthName

Number

No

Number of the month to return

Type

Number

No

Specify the name form request. It can be one of following:

 

Type

Meaning

%DT_USE_LONG_FORM

Will return 3 letter month name

%DT_USE_SHORT_FORM

Will return full month name

 

 

Remarks

 

Restrictions

 

See also

 

  DT_ GetWeekDayName,

 

 

Examples

 

MSGBOX 0, DT_GetMonthName(6, %DT_USE_SHORT_FORM)  ' results Jun