- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could anyone help me to get year, month and day information from DateTimePicker dialog control with IVF8.0 while without changing system time?
thanks in advance.
Yao
Could anyone help me to get year, month and day information from DateTimePicker dialog control with IVF8.0 while without changing system time?
thanks in advance.
Yao
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're using DFLOGM:
USE DFWIN
TYPE(T_SYSTEMTIME):: ST
i = DlgSendCtrlMessage(Dlg, IDC_DATETIME, DTM_GETSYSTEMTIME, 0, LOC(ST))
SYSTEMTIME structure contains the information about selected date.
This code must be called while the dialog is active, e.g.in a callback for OK button or in a DLG_DESTROY callback. See also DTM_SETSYSTEMTIME, DTM_SETFORMAT.
Jugoslav

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page