AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgDateTime::MgDateTime ( INT16  year,
INT8  month,
INT8  day 
)

Construct a date value.

.NET Syntax
MgDateTime(short year, short month, short day);
Java Syntax
MgDateTime(short year, short month, short day);
PHP Syntax
MgDateTime(int year, int month, int day);

Parameters:
year (short/int) Input year
month (short/int) Input month
day (short/int) Input day of month
Returns:
Returns nothing.