forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
I need a date from DateTimeCtrl in the format ddmmyyy, without "/". I tried
SetDateFormat("%3:02d%2:02d%1:4d"); // has been removed the '/'
date_field.SetData( date_field.GetData() );
SetDateScan("dmy");
But the background of the ctrl became red. I suspect it inherits some behaviour from the editctrl in which the number of characters in the ctrl should be 10 and not 8 as I want.
Is there a workaround?