mazhar555Contributor15 years agoDate FunctionsHi, I am looking for a routine which can return Date Interval in Number and if i add a number into a date it will return me a Date. Same as we do in excel. Can anyone help me? Regards,Show More
tarleaaContributor15 years agoHello Alex, Today happened something interesting with the aqDateTime object. When I run this code:Log.Message(aqDateTime.Today());Log.message(aqDateTime.AddMonths(aqDateTime.Today(), +1));I get this log message: Type Message Time Link 10/4/2010 1:49:48 11/1/2010 1:49:48 Today's date is fine, but what about today + 1 month ? Shouldn't it return 11/4/2010 ?This only happens in TC 7.52. TC 8 seems OK.Thanks, Andrei
Recent DiscussionsI'm not able to handle cookie pop up with test complete using java script,I'm using windows machine.Unable to install upgrade of TestComplete as previous installation not finished.If statement
Related ContentIncorrect Date Calculation When Adding One Month with AddMonths FunctionKeyword Tests and Date Functions/ValuesAny Possibility to validae the sorting function (sorting with date)