wwUtils::ToIsoDateString

Converts a FoxPro date or date time value to ISO 8601 format: 2012-10-08 16:55:12.

This function is useful for converting dates to the format required by HTML5 input type=date controls which can only display dates using the standard ISO formatting.

ToIsoDateString(ldDate)

Return Value

formatted date

Parameters

ldDate
A FoxPro date or DateTime value

See also:

Class wwUtils

© West Wind Technologies, 2004-2017 • Updated: 12/18/14
Comment or report problem with topic