MQL5 ReferenceDate and TimeStructToTime TimeCurrentTimeTradeServerTimeLocalTimeGMTTimeDaylightSavingsTimeGMTOffsetTimeToStructStructToTime StructToTime Converts a structure variable MqlDateTime into a value of datetime type and returns the resulting value. datetime StructToTime( MqlDateTime& dt_struct // structure of the date and time ); Parameters dt_struct [in] Variable of structure type MqlDateTime. Return Value The value of datetime type containing the number of seconds since 01.01.1970. TimeToStruct Account Information