DT_LastDayOfMonth

<< Click to Display Table of Contents >>

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

DT_LastDayOfMonth

 

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

 

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