AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgDateTime::MgDateTime ( INT16  year,
INT8  month,
INT8  day,
INT8  hour,
INT8  minute,
INT8  second,
INT32  microsecond 
)

Construct a date time value.

.NET Syntax
MgDateTime(short year, short month, short day, short hour, short minute, short second, int microsecond);
Java Syntax
MgDateTime(short year, short month, short day, short hour, short minute, short second, int microsecond);
PHP Syntax
MgDateTime(int year, int month, int day, int hour, int minute, int second, int microsecond);

Parameters:
year (short/int) Input year
month (short/int) Input month
day (short/int) Input day of month
hour (short/int) Input hour
minute (short/int) Input minute
second (short/int) Input second
microsecond (int) Input microsecond
Returns:
Returns nothing.