Skip to content

TJSONIniFile.WriteTime

Writes a time value to the JSON ini file

Declaration

Source position: jsonini.pp line 69

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

Description

WriteTime writes a time value to the specified section and key. The time is formatted as a string (0000-00-00Thh:nn:ss.zzz) and stored as a JSON string. If the section does not exist, it is created automatically.

See also

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