Odisseia 1.21.56
Português do BrasilManual oficial · 1.21.56
Sobre a tradução em inglês

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:

1

Pertence ao núcleo, não exige uses nem permissões.