Returns a new DateTime that adds the specified number of months to this instance.
Namespace: com.mindfusion.common
Package: com.mindfusion.common
SyntaxJava
Copy Code
|
|---|
public DateTime addMonths ( |
A number of months. The months parameter can be negative or positive.
A DateTime whose value is the sum of the date and time represented by this instance and months.
See Also