Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetDay
GetHour
GetMicrosecond
GetMinute
GetMonth
GetSecond
GetYear
IsDate
IsDateTime
IsTime
MgDateTime
MgDateTime
MgDateTime
MgDateTime
SetDay
SetHour
SetMicrosecond
SetMinute
SetMonth
SetSecond
SetYear
Validate
void MgDateTime::SetMonth | ( | INT8 | month | ) |
Sets the month 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 SetMonth(short month);`
Java Syntax
`void SetMonth(short month);`
PHP Syntax
`void SetMonth(int month);`
  Parameters:
  | month | (short/int) Month in the range of 1 to 12 inclusive (January = 1)

Comments or suggestions? Send us feedback.