Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual
Page 254

FactoryTalk EnergyMetrix Software
254
Properties
Methods
Month Object
The Month object presents a time period of one month. A month begins at midnight on
the first day of a month and ends at midnight on the first day of the following month.
Instancing
The Month object is a creatable object.
Accessing
The Months object automatically creates Month objects (accessible by using the Months
property) and MPR script code can create additional Month objects if needed.
Properties
Methods
Property
R/W
Description
Month(index) As Month
R
Collection of Month objects that represent the
report date range in periods of months
Method
Description
Months(StartDate As
DateTime, EndDate
As DateTime)
Create a Months object containing Month objects representing the
months between StartDate and EndDate, inclusive.
Property
R/W
Description
StartDate As DateTime
R
The starting date of the Month object (1/1/2003
00:00:00)
EndDate As DateTime
R
The ending date of the Month object (2/1/2003
00:00:00)
Method
Description
Month(Date As
DateTime)
Create a Month object representing a time period of one month