MonthOf#
Extrai o mês, de 1 a 12.
Assinatura#
function MonthOf(Value: DateTime): Integer;Exemplo#
begin
WriteLn(IntToStr(MonthOf(EncodeDateTime(2024, 1, 15, 0, 0, 0, 0))));
end.Resultado esperado:
1Pertence ao núcleo, não exige uses nem permissões.