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

Date Class: SetDayName

Previous  Top  Next  


Prototype: (Byte pDay, String pDayName, <String pShortName>)

 

pDayThe day of the week to change the name for.  IT_Sunday - IT_Saturday.
pDayNameThe 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:

GetDayName

InitDayName

GetNextWeekDay

GetPreviousWeekDay

 



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