I have a requirement where I need to fetch the runtime start datetime and end datetime of project. And also the complete time taken for project execution. I have used system.date compare but it is not working for me. Could you please guide me?
You can use Now() from DateTimeUtils component to get current time as DateTime and then Subtract() to get difference between two DateTimes. It returns TimeSpan object which can be converted to various formats.