ParseDateTime#
Interpreta texto segundo uma máscara explícita; entrada incompatível gera EConvertError.
Assinatura#
function ParseDateTime(const Format: String; const Value: String): DateTime;Exemplo#
begin
WriteLn(FormatDateTime('yyyy-mm-dd hh:nn', ParseDateTime('yyyy-mm-dd hh:nn', '2026-03-15 14:30')));
end.Saída: 2026-03-15 14:30.
Pertence ao núcleo, não exige uses nem permissões.