Sign in Join
FPDoc Onlineexperiment

TJSONIniFile.WriteDateTime procedure

Member of TJSONIniFilepublicIn unit JsonIni

Writes a date-time value to the JSON ini file

Declaration

pascal
procedure WriteDateTime(const Section: string; const Ident: string; 
 Value: TDateTime); override

Arguments

Section

The section name to write to

Ident

The key name to write

Value

The date-time value to write

Description

WriteDateTime writes a date-time value to the specified section and key. The date-time is formatted as an ISO date-time string (yyyy-mm-ddThh:nn:ss.zzz) and stored as a JSON string. If the section does not exist, it is created automatically.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.