Delphi ActiveX
Delphi ActiveX
Example: Http.GenTimeStamp method
Demonstrates theGenTimeStamp method.
Chilkat Delphi ActiveX Downloads
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Chilkat_TLB;
...
procedure TForm1.Button1Click(Sender: TObject);
var
http: TChilkatHttp;
timestamp: WideString;
begin
http := TChilkatHttp.Create(Self);
// Return current date/time in the following format: Day, DD Mon YYYY HH:MM:SS GMT
timestamp := http.GenTimeStamp();
Memo1.Lines.Add(timestamp);
// Sample Output:
// Thu, 21 Aug 2025 11:17:31 GMT
end;