www.icetips.com  Icetips Utilities Documentation 11/14/2010    

Date Class: SetMonthName

Previous  Top  Next  


Prototype: (Byte pMonth, String pMonthName, <String pShortName>)

 

pMonthValue 1 - 12 indicating the month to set the name for.
pMonthNameLong/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:

GetMonthName

InitMonthNames

 



Direct link to this page: http://www.icetips.com/manuals/utilities/setmonthname_dateclass.htm