kilesa / Publications
Forum
Problem with MQL5 MqlDateTime .mon
I get an error from the compiler when i use: MqlDateTime .mon { datetime date = D'2008.03.01'; MqlDateTime tm; TimeToStruct(date,tm); int day = tm.day; Print(day); } //Above works and results in 1 { datetime date = D'2008.03.01'; MqlDateTime tm; TimeToStruct(date,tm);