In my application, I define my own culture to have specific number and date time format. I set the Application.CurrentCulture with this specific culture. Everything works OK.
When I use the function Steema.Teechart.Utils.DateTime to convert a DateTime value into a double value, my application culture has changed !! Why ??
Culture of TeeChart ?
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi --
The Steema.Teechart.Utils.DateTime function simply does this:
Running Lutz Roeder's .NET Reflector on the teechart.dll assembly you will be able to see that Culture=neutral.In my application, I define my own culture to have specific number and date time format. I set the Application.CurrentCulture with this specific culture. Everything works OK.
When I use the function Steema.Teechart.Utils.DateTime to convert a DateTime value into a double value, my application culture has changed !! Why ??
The Steema.Teechart.Utils.DateTime function simply does this:
Code: Select all
static public double DateTime(DateTime value)
{
return value.ToOADate();
}
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi --
Have a look at the following TeeChart Help Topics:
Steema.TeeChart.AxisLabels.DateTimeFormat Property
Steema.TeeChart.TChart.GetAxisLabel Event
Steema.TeeChart.Styles.Series.GetSeriesMark Event
Where is it displaying this format, on the axes or the series marks?So why Teechart stills display date format like 13/10/2003 where the the date format has been defined as yyyy-mm-dd ???
Have a look at the following TeeChart Help Topics:
Steema.TeeChart.AxisLabels.DateTimeFormat Property
Steema.TeeChart.TChart.GetAxisLabel Event
Steema.TeeChart.Styles.Series.GetSeriesMark Event
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/