string AddAppLogDataDate(string, string, string, int)

Adds more data to an existing app log entry

Security

Trust Level Required: Medium Trust

Parameters

Name Description
appLogId string
The app log id returned from CreateAppLog.
name string
Name.
value string
Any date format parsable by DateTimeOffset.Parse. Two constants, now and utcnow, are also accepted.
tzOffset (Optional) int
Time zone offset, in minutes.

Return

The app log data id, or null on an insert failure.

Examples


var dataId = KioApp.AddAppLogDataDate(appLogId, 'DateIso', new Date().toISOString(), new Date().getTimezoneOffset());
var dataId = KioApp.AddAppLogDataDate(appLogId, 'DateLocal', 'now');
var dataId = KioApp.AddAppLogDataDate(appLogId, 'DateLocal', 'utcnow');
    

Requirements

KioWare for Windows version 8.38 or greater.