Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » DateTimeCtrl and format ddmmyyyy
DateTimeCtrl and format ddmmyyyy [message #9321] Thu, 26 April 2007 21:53 Go to previous message
forlano is currently offline  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?

Luigi
 
Read Message
Read Message
Read Message
Previous Topic: DataTimeCtrl and format dd/mm/yyyy
Next Topic: Small issues....
Goto Forum:
  


Current Time: Thu Apr 25 19:09:53 CEST 2024

Total time taken to generate the page: 0.04115 seconds