News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















DAY() - date.getHours()

Returns the hour portion from a DateTime expression.


VFP code example

? HOUR(DATETIME())                     // Returns a value between 0 and 23


Servoy code example

var d = new Date()           
.output(d.getHours())       // Returns a value between 0 and 23

// OR using the HOUR() function alternative:

var d = new Date()             
application.output(globals.HOUR(d))    // Returns a value between 0 and 23

Note: HOUR() 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 © 2010-2012 • All rights reserved • Contact: