IDateTimeCalendarInfo
- Namespace
- ZCore
INTERFACE IDateTimeCalendarInfo
Properties
DayOfTheYear
PROPERTY DayOfTheYear : INT
Returns the actual day of the year as number between 1..365 or 366
Property Value
- INT
IsLeapYear
PROPERTY IsLeapYear : BOOL
Returns TRUE if the actual running year is a leap year, otherwise FALSE
Property Value
- BOOL
Month
PROPERTY Month : DateTimeMonth
Returns the actual month of the year as DateTimeMonth enumeration This enumeration starts with January as first entry (represented as INT#1)
Property Value
Week
PROPERTY Week : INT
Week number of the year starting with 1 as first week of the year (1-53)
Property Value
- INT
Weekday
PROPERTY Weekday : DateTimeWeekday
Weekday enumeration starting with Sunday as first entry
Property Value
Methods
MonthAsString
METHOD MonthAsString (
[input] format : StringAbbreviationFormat) : STRING
Returns the actual month as string depending on the given abbreviation See StringAbbreviationFormat for all possible values and MonthToString function to see how it gets abbreviated
Inputs
formatStringAbbreviationFormat
Returns
- STRING
WeekdayAsString
METHOD WeekdayAsString (
[input] format : StringAbbreviationFormat) : STRING
Returns the actual weekday as string depending on the given abbreviation See StringAbbreviationFormat for all possible values and WeekdayToString function to see how it gets abbreviated
Inputs
formatStringAbbreviationFormat
Returns
- STRING