Web API Reference MapGuide Open Source
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


Comments or suggestions? Send us feedback.