Skip to content

TJSONIniFile.WriteDate

Writes a date value to the JSON ini file

Declaration

Source position: jsonini.pp line 66

public 
procedure TJSONIniFile.WriteDate(const Section: string; 
                                const Ident: string; Value: TDateTime)
                                ;  override;

Description

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

See also

Name Description
ReadDate Reads a date value from the JSON ini file
WriteDateTime Writes a date-time value to the JSON ini file
WriteTime Writes a time value to the JSON ini file