News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















SEC() - date.getSeconds()

Returns the seconds portion from a datetime expression.


VFP code example

? SEC(DATETIME())                      // Returns a value between 0 and 59


Servoy code example

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

// OR using the SEC() function alternative:

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

Note: SEC() 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: