Contents:
Introduction
News blog
What is Servoy?
Getting Started
Comparison Servoy/VFP
Performance
How-To's
Code Reference
VFP2Servoy Toolkit
Contact / feedback
|
DTOS() - globals.DTOS()
Returns a character-string date in a yyyymmdd format from a specified date(time) expression.
VFP code example
DTOS(DATE())
// "20110415" suitable for indexing
INDEX ON DTOS(dInvDate)
TAG dateIndex
|
Servoy code example
var d = new Date();
utils.dateFormat(d,'yyyyMMdd')
// or alternatively:
var d = new Date();
globals.DTOS(d)
// "20110415" suitable for indexing
|
|
Conclusion
This function basically does the same as the DTOC(date, 1) function.
|
External resources:
vfp plugin
ServoyWorld 2012 pics
Official Servoy website
Ken Levy on Servoy
Servoy info
Servoy Forum
Servoy Documentation
|