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
AlexKarasCommunity Hero15 years agoHi Andrei,I am not employed by AutomatedQA as it is stated in my signature, so I will leave the answer to their Support. :)But I can confirm that I got the same problem with your code using VBScript with TC7.52.Possible workaround:Log.Message(aqDateTime.SetDateElements(aqDateTime.GetYear(aqDateTime.Today()), aqDateTime.GetMonth(aqDateTime.Today()) + 1, aqDateTime.GetDay(aqDateTime.Today())));
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)