Initialize a TDateTime variable (C++)

How to create strategies and indicators
Message
Author
Horrigan
Posts: 1
Joined: Fri Jul 03, 2015 3:26 am

Initialize a TDateTime variable (C++)

#1 Postby Horrigan » Fri Jul 03, 2015 3:32 am

Hi,
how I can initialize a TDateTime constant/variable with given date and time (e.g. 2013.08.21 14:55:18)? Is there any function that convert it from string, or which takes set of string parameters and re-counts it for its inner format?

Or I need to write my own? In that case, how is TDateTime (double) represented? Unix time? (seconds passed from 1970.01.01) Or another else format?

Thanks a lot.

Return to “FT API”

Who is online

Users browsing this forum: No registered users and 4 guests