Contents:
Introduction
News blog
What is Servoy?
Getting Started
Comparison Servoy/VFP
Performance
How-To's
Code Reference
VFP2Servoy Toolkit
Contact / feedback
|
GOMONTH() - date.setMonth()
Returns the date that is a specified number of months before or after a given Datetime expression.
VFP code example
d = GOMONTH(DATE(),-3)
&& Go 3 months back in time
|
Servoy code example
var d =
new
Date(dDate.setMonth(dDate.getMonth() +
nMonths));
|
|
Conclusion
I am glad Servoy/Javascript has the syntax to do this, because if you have to
code the logic for this yourself things can get messy pretty quickly.
|
External resources:
vfp plugin
ServoyWorld 2012 pics
Official Servoy website
Ken Levy on Servoy
Servoy info
Servoy Forum
Servoy Documentation
|