string addAppLogDataDate(string appLogId, string name, string value, int tzOffset = 0)

Adds date data to an app log entry on KioWare Server

Security

Trust Level Required: Medium Trust

Parameters

Name Description
appLogId string
The app log ID returned from KioApp.createAppLog.
name string
The name of the data entry.
value string
The date/time string. Alternatively, pass "now" to use the current time, or "utcnow" to use the current UTC time.
tzOffset (Optional) int
The optional timezone offset in minutes.

Return

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

Examples


var appLogId = KioApp.createAppLog("My App Log", "Data generated by my app");
if (appLogId != null)
	KioApp.addAppLogDataDate(appLogId, "Data Entry 1", "now");

Requirements

KioWare OS (Linux®) version 1.2 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.