wx.lib.CDate¶Date and calendar classes and date utitility methods.
Functions Summary¶Get day of week from a julian day |
|
Get the number of days for the month. |
|
Convert a julian date |
|
Verify if year is a leap year. |
|
Convert a date to Julian |
|
Return number of leap years in range [y1, y2] |
|
Classes Summary¶A date class |
|
A now date class |
dayOfWeek(julian)¶Get day of week from a julian day
julian – the julian day
the day of week as an integer and Monday = 1
daysPerMonth(month, year)¶Get the number of days for the month.
month (int) – the month
year (int) – the year
the number of days in the requested month
FillDate(val)¶FormatDay(value)¶FromJulian(julian)¶Convert a julian date
julian (int) – the julian date to convert
year, month day as integers
isleap(year)¶Verify if year is a leap year.
year (int) – the year to check
True or False
julianDay(year, month, day)¶Convert a date to Julian
year (int) – the year
month (int) – the month
day (int) – the day
the julian date number
leapdays(y1, y2)¶Return number of leap years in range [y1, y2] Assume y1 <= y2 and no funny (non-leap century) years
TodayDay()¶