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.
Demo solution is attached.
Posted: 4 years ago
Posted: 7 May 2019 17:06 EDT
Jaewoong Shin (JaewoongS9924)