#include <stdlib.h>#include <time.h>#include "clientlib.h"Functions | |
| void | datepicker_drawmonth (pghandle canvas, pghandle title, int year, int month, int *day, pghandle fHeading, int *firstday, int *numdays) |
| int | pgDatePicker (int *year, int *month, int *day, const char *title) |
| Show a date on a calendar, allow the user to select a new date. | |
Variables | |
| const char * | months [] |
| const char * | weekdays [] |
|
||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Show a date on a calendar, allow the user to select a new date.
year, month, and/or day may be zero to use the current date. The year must be fully specified. For example, use 1984 instead of just 84. Of course the dialog is Y2K compliant! On systems with 32-bit time_t, it does not allow years beyond 2037. With a 64-bit time_t this isn't a problem. Months and days are both one-based.
|
|
|
Initial value: {
"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
}
|
|
|
Initial value: {
"Su","Mo","Tu","We","Th","Fr","Sa"
}
|
1.3-rc3