wwUtils.JsonDate

Creates an ISO JSON compatible date string including quotes.

Produces a date in the following format:

"2014-12-19T04:25:33Z"

o.wwUtils.JsonDate(ldDateTime)

Return Value

JSON Encoded ISO date string

Parameters

ldDateTime
Date to encode into ISO date

lAssumeUtcDate
Set to .T. if the date to convert is already in UTC format. Otherwise the date is assumed to be a local date which is adjusted to UTC and postfixed with a Z to indicate zulu time.

See also:

Class wwUtils

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