Solved
Forum Discussion
tristaanogre
6 years agoEsteemed Contributor
Easy sample code to demonstrate
Log.Message(aqDateTime.Today())
- saranoor6 years agoFrequent Contributor
So write this as a script and call it in that step? run the script at that step?
Log.Message(aqDateTime.Today())
- tristaanogre6 years agoEsteemed Contributor
That script is simply an example of how to get today's date. It demonstrates logging to the test log the date as is.
If you need to use the date for some other purpose, you would use the aqDateTime.Today() method in that vein.
However... without more specifics of EXACTLY what you're trying to do, all I can do is give the general reference.https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqdatetime/today.html