4
Answers

Time Convertion

Praveen TM

Praveen TM

9y
330
1

Hi all,

my time format is '%Y-%m-%d %H:%M:%S'

start_time = 2014-12-04 08:10:32

end_time = 2014-12-04 12:34:45

Here i want output like diff_time = 4.24

Thanks in advance...

Answers (4)
0
Raghavendra U

Raghavendra U

NA 788 348.4k 14y
add reference System.Web

HttpContext.Current.Server.MapPath("");