beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 279

background image

F

UNCTION

R

EFERENCE

G

ET

M

ONTH

D

AYS

(

Y

,

M

)

R

EVISION

1

P

AGE

263

G

ET

M

ONTH

D

AYS

(

Y

,

M

)

A

RGUMENT

T

YPE

D

ESCRIPTION

y

int

The year to be processed, in four-digit form.

m

int

The month to be processed, from 1 to 12.

D

ESCRIPTION

Returns the number of days in the indicated month, accounting for leap years etc.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

int

.

E

XAMPLE

Days := GetMonthDays(2000, 3)