Share

AcDbDate::setDate

C++

ACDBCORE2D_PORT void setDate(
    int month, 
    int day, 
    int year
);

Description

Sets month, day, and year to be the month, day, and year portion of the AcDbDate object's value. The month must be in the range 1 to 12, the day in the range 1 to 31, and the year is a value such as 1998.

Parameters

Parameters Description
month Input month value
day Input day value
year Input year value

Links

AcDbDate

Previous Declaration

void setDate(

short month,

short day,

short year

);

Was this information helpful?