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 

Note: QUARTER() is a function of the VFP2Servoy Toolkit

 


 

External resources:

 

vfp plugin

 

ServoyWorld 2012 pics

 

Official Servoy website

 

Ken Levy on Servoy

 

Servoy info

 

Servoy Forum

 

Servoy Documentation

 

VisualFoxpro.com © 2010-2012 • All rights reserved • Contact: info@visualfoxpro.com