//--------------------------------------------------------------------- // Gets the date of the next day. //--------------------------------------------------------------------- #property copyright "© RickD 2006-2007" #property link "www.e2e-fx.net" void NextDay(int& day, int& month, int& year) { datetime Time0 = CurTime(); datetime Tomorrow = Time0 + 24*60*60; day = TimeDayOfYear(Tomorrow); month = TimeMonth(Tomorrow); year = TimeYear(Tomorrow); }