News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















TIME() - date.toLocaleTimeString()

Returns the current system time in 24-hour, eight-character string (hh:mm:ss) format.


VFP code example

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


Servoy code example

var d = new Date()           
.output(d.toLocaleTimeString())     // 17:37:43 CET
application.output(d.toTimeString())           // 17:37:43 GMT+0100 (CET)

// OR using the TIME() function alternative:

var d = new Date()             
application.output(globals.TIME())     // 17:37:43

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