AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgDateTime::SetHour ( INT8  hour  ) 

Sets the hour component of this object The Validate method should be called after the date time value has been fully specified by Set methods.

.NET Syntax
void SetHour(short hour);
Java Syntax
void SetHour(short hour);
PHP Syntax
void SetHour(int hour);

Parameters:
hour (short/int) Hour since midnight in the range of 0 to 23