Navigation:  Reference > Functions >

DAYS_IN_MONTH()

Print this Topic Previous pageReturn to chapter overviewNext page

DAYS_IN_MONTH(1)

PURPOSE

This function will return the number of days in a given month related to a specific date..

PARTS

1. f/c/eRequired:  The date value to use, must be of D type.

 

RETURN TYPE - I

The number range returned is from 28 through 31.

 

EXAMPLE

define days_i type i size 2

define some_date type D size 8

 

some_date = date()

days_i = days_in_month(some_date)

 

SEE ALSO

DATE()   Convert to Date CTOD() Convert to time CTOT()   TIME GET SET  Convert time to record TTOR()  Covert time to number TTOF() Convert time to string TTOC()

TIME() YEAR() Date Command  Date to Record DTOR()  Convert date to Character DTOC() Days in month DAY_IN_MONTH

Increment the Month INC_MONTH DayMonthyear DMY()  Month Day Year MDY()

Charicter of month CMNTH()  Charicter to day of week CDOW()

 


Page url: http://www.cassoftware.com/tas/manual/days_in_month.htm