mazhar555Contributor16 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 Hero16 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 DiscussionsSend Request Operation - Response Body?Elements detected, clicked in wrong location with ChromeLatency and Device Disconnect Issues in Test Complete Mobile Testing
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)