|
Previous Top Next |
Prototype: | (Byte pMonth, String pMonthName, <String pShortName>) |
pMonth | Value 1 - 12 indicating the month to set the name for. |
pMonthName | Long/full name for the month, for example 'January' |
[pShortName] | Omittable short, abbreviated name for the month, for example 'Jan' |
This method is used to set the month names for example to a different language. The month name will then be returned when calling the GetMonthName method.
Example:
ITD ITDateClass
Code
ITD.SetMonthName(1,'Janúar','Jan') !! Set Icelandic name for January
Message('January is now: ' & ITD.GetMonthName(1))
See also: