docs

Home Getting Started Browse by Category Class Methods Low-Level API

SetDateTimeText

Stores TOML local or offset date/time text without inventing a UTC marker.

Clarion class declaration

SetDateTimeText PROCEDURE(STRING pKeyPath,STRING pDateTimeText),LONG

Purpose

Stores TOML local or offset date/time text without inventing a UTC marker.

Parameters

Parameter Type Description
pKeyPath STRING Dotted or indexed TOML key path.
pDateTimeText STRING TOML date/time literal text or output CSTRING that receives it.

Return value

Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.

Example (Clarion)

RetCode LONG

CODE
Toml.StartDocument()
RetCode = Toml.SetDateTimeText('job.run_at','2026-07-29T08:15:10')

Notes

Home Getting Started Browse by Category Class Methods Low-Level API