How could i convert DateTime variable to Double in TeeChart ..
In Utils reverse operation could be made by Utils.DateTime..
DateTime to Double ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi glikoz,
You could use Microsoft .NET Framework's Convert.ToDouble(DateTime value) method.
You could use Microsoft .NET Framework's Convert.ToDouble(DateTime value) method.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Code: Select all
DateTime d = new DateTime(1998, 1, 1);
double e = Convert.ToDouble(d);