Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Setting the Culture Setting (Read 2354 times)
JeffHebb
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 2nd, 2007
Setting the Culture Setting
May 7th, 2007 at 5:00am
Print Post  
Hi

I am having problems in setting the culture of the
date format from US to other types.

I am using VS 2005 and can change the setting in
VB.net or C# but it has no impact on changing the format on the calendar (set as a TimeTable).
When the  data is saved (Server 2000), it is still in 'US' format.

Could someone post the correct syntax as I know thats where I have goofed.

Many thanks
JeffHebb
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Setting the Culture Setting
Reply #1 - May 7th, 2007 at 5:25am
Print Post  
The culture info settings were intended to affect how the data is present within the control and not how it is stored (I am not really sure what do you mean by 'when the data is saved'). Anyway, in order to set the culture of the calendar to, say German, you can use the following syntax:

Code
Select All
calendar1.Culture = new CultureInfo("de-DE"); 



Meppy
  
Back to top
 
IP Logged
 
JeffHebb
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 2nd, 2007
Re: Setting the Culture Setting
Reply #2 - May 7th, 2007 at 5:32am
Print Post  
Hi

Many Thanks, 
after I sent the post I saw the error....
Time for mooore coffee. Smiley

JeffHebb
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint