Write a Date Property, excluding any Time portion.

The Date format written is determined by the iseJsonDateFormat parameter that was supplied when creating this JSON builder.

Syntax

ISJsonBuilder.WritePropertyDate(propertyName, value, [writeIfNothing], [omitTime])

Parameters

NameTypeOptionalByRefDescription
propertyName String The Property Name.
value Date The Date value.
writeIfNothing Boolean Optional If False, the Property will not be written if value is Nothing. If omitted, a value of True is assumed.
omitTime Boolean Optional Normally Dates are written as YYYY-MM-DDT00:00:00. If True this omits the time and will output YYYY-MM-DD. If omitted, a value of False is assumed.
Member of:
ISJsonBuilder
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0