|
Previous Top Next |
Prototype: | (Byte pDay, String pDayName, <String pShortName>) |
pDay | The day of the week to change the name for. IT_Sunday - IT_Saturday. |
pDayName | The full day name, i.e. long name for example 'Monday' |
[pShortName] | Omittable short, abbreviated name for the day, for example 'Mon' |
This method is used to set the day names for example to a different language. Day name constants are declared in the ITEquates.inc file to make day selections easy, IT_Sunday, IT_Monday, IT_Tuesday, IT_Wednesday, IT_Thursday, IT_Friday, IT_Saturday.
Example:
ITD ITDateClass
Code
ITD.SetDayName(IT_Saturday,'Laugardagur', 'Lau') !! Set to Icelandic for Saturday
Message('Saturday is now: ' & ITD.GetDayName(IT_Saturday))
See also: