FormatDateTime#
Formata um DateTime com uma máscara explícita; nn representa minutos.
Assinatura#
function FormatDateTime(const Format: String; Value: DateTime): String;Exemplo#
begin
WriteLn(FormatDateTime('yyyy-mm-dd hh:nn', EncodeDateTime(2026, 3, 15, 14, 30, 0, 0)));
end.Saída:
2026-03-15 14:30Pertence ao núcleo, não exige uses nem permissões.