Contents:
Introduction
News blog
What is Servoy?
Getting Started
Comparison Servoy/VFP
Performance
How-To's
Code Reference
VFP2Servoy Toolkit
Contact / feedback
|
QUARTER() - globals.QUARTER()
Returns the quarter of the year in which a date(time) expression occurs.
VFP code example
?
QUARTER(DATE()) //
Returns 1,2,3 or 4
|
Servoy code example
var d
=
new Date()
Math.ceil((dDate.getMonth()+1)/3) //
returns 1,2,3 or 4
//
OR using the QUARTER() function alternative:
var d
=
new Date()
globals.QUARTER(d) //
returns 1,2,3 or 4
|
|
|
External resources:
vfp plugin
ServoyWorld 2012 pics
Official Servoy website
Ken Levy on Servoy
Servoy info
Servoy Forum
Servoy Documentation
|