Skip to content

TCustomIniFile.WriteDateTime

Write date/time value.

Declaration

Source position: inifiles.pp line 201

public 
procedure TCustomIniFile.WriteDateTime(const Section: string; 
                                      const Ident: string; 
                                      Value: TDateTime);  virtual;

Description

WriteDateTime writes the date/time Value with the name Ident to the section Section, overwriting any previous value that may exist there. The section will be created if it does not exist. The date/time is written using the internationalization settings in the SysUtils unit.

See also

Name Description
ReadDateTime Read a Date/Time value.
WriteInteger Write an integer value.
WriteBool Write boolean value.
WriteDate Write date value.
WriteString Write a string value.
WriteTime Write time value.
WriteFloat Write a floating-point value.
WriteBinaryStream Write binary data.