Write a Date Time Property in UTC format.

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

Syntax

ISJsonBuilder.WritePropertyDateTimeUtc(propertyName, value, [writeIfNothing])

Parameters

NameTypeOptionalByRefDescription
propertyName String The Property Name.
value Date The Date Time value. If this does not have a 'Kind' of DateTimeKind.Utc, it will be assumed to be in local time and converted to UTC using the .NET ToUniversalTime() method.
writeIfNothing Boolean Optional If False, the Property will not be written if value is Nothing. If omitted, a value of True is assumed.
Member of:
ISJsonBuilder
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0