Navigation:  thinBasic Modules > DT (Date Handling) >

DT_LastDayOfMonth

Previous pageReturn to chapter overviewNext page

 

Description

 

The DT_LastDayOfMonth () function converts a given number of seconds to the correspondent time string.

 

Syntax

 

 DT_LastDayOfMonth(nMonth AS NUMBER, nYear AS NUMBER) AS NUMBER

 

Returns

 

Returns AS NUMBER

   The last day of the month.

 

Parameters

 

nMonth  AS NUMBER

   The month.

nYear  AS NUMBER

   The year.

 

 

Remarks

 

 

Restrictions

 

 

See also

 

 

 

Examples

 

  MSGBOX 0, DT_LastDayOfMonth(12, 2005)     ' results: 31