Returns the last date of the month of a given date.
Date | DateTime.EndOfMonth()
Where:
Date | DateTime
Is an attribute or variable based on the Date/DateTime data type, to which the method will find its last date.
Type Returned:
Date|DateTime
Data Types: Date, DateTime
Generators:
.NET,
.NET Framework, Java, RPG, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
This method returns the last date of the month in the data type received; that is, the result's data type will be the same as the given original value (Date or DateTime).
&Var = &Birthday.EndOfMonth() // where &Birthday: 08/28/2009 The result is: 08/31/09
TimeZone Support - General Considerations
EoM function