DocumentationMQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoTimeSetupTimeSetupTimeSetupGets the time of order placement.datetime TimeSetup() constReturn Value Time of order placement.Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. Last updated on 2026-07-24TimeSetupMsc