Table of Contents

IDateTimeCalendarInfo

Namespace
ZCore
INTERFACE IDateTimeCalendarInfo

Properties

DayOfTheYear

PROPERTY DayOfTheYear : INT

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

DateTimeMonth

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

DateTimeWeekday

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

format StringAbbreviationFormat

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

format StringAbbreviationFormat

Returns

STRING