Forum Discussion

abdul_rp's avatar
abdul_rp
Contributor
14 years ago

Issue in working with wTime

Hi,



I want to display the current execution time in the logs for that I have used wTime to display the current time(Fetching from the application), When I am using Showmessge for displaying the time it is showing correct time , when I have used in logs I not getting the correct time .




var Starttime=MainForm["releaseTime"]["dtpTime"]["wTime"];


Starttime=MainForm["releaseTime"]["dtpTime"]["wTime"];

ShowMessage(Starttime) // Displaying Correct time



Log["Message"]("Execution Strated at:"+Starttime) // Displaying incorrect value


["Message"]("Execution Strated at:"+Starttime) // Displaying incorrect value

Log["Message"](Starttime); // Displaying Correct time



Can any one tell me where I am doing the mistake in the first Log Statement.



Regards,

Abdul


["Message"](Starttime); // Displaying Correct timeCan any one tell me where I am doing the mistake in the first Log Statement.Regards,Abdul






1 Reply