#8071
Support 3
Participant

You can use the FormatDateTime() function to return the date or time expression. See the “Visual Basic Scripting” guide for more information.

msgbox FormatDateTime(Maindlg.DateTimePicker.date, vbGeneralDate)   

Regards,
Advansys Support