wxCalendarCtrl and date format!

Hi friends!

How I can convert the date I recive from wxCalendarCtrl.GetDate to the following format: 'Mon 28 Aug 2006'. I mean cut down the time from the date string?

Thanks for help!