Below code is giving the output as :
Eg:5 days 1hr 23 minutes
DateTimeVar AssgnDateTime := DateTime ({@Assgn_date},{@Assgn_Time});
DateTimeVar ResDateTime := DateTime ({@Res_date},{@Res_Time});
StringVar TimeSinceBreach := DateTimeDiff(AssgnDateTime,ResDateTime);
NumberVar MinPos := InStr (1,TimeSinceBreach ,"Minute(s)" );
How can i convert 5 days 1hr 23 minutes in to minutes alone that is 5*24*60+1*60+23 minutes.
Please help me
Edited by shanila_minnu - 21 Jul 2010 at 11:57pm