<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><span></span></div><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I am trying to <span style="background-color: rgba(255, 255, 255, 0);">figure out the duration between</span> one day's survey begin time (e.g., <span style="background-color: rgba(255, 255, 255, 0);">7:13:45</span>) and end time (<span style="background-color: rgba(255, 255, 255, 0);">e.g., 9:39:53) in an attribute table of a line shape file</span>. It has just two attributes begin and end. B<span style="background-color: rgba(255, 255, 255, 0);">ut $lengh returns an error message and cannot figure out the duration. I suspect that the fields are not in proper format. So, I try to update the fields with</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">to_time("begin")</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">Then, it says <span style="font-weight: 600;">Eval Error:</span> Cannot convert '7:13:45' to Time. </span></div><div><br></div><div><span style="white-space:pre-wrap">What is a remedy? The “begin” and “end” are in string. </span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Best wishes,</span></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><font color="#888888">Reiko Matsuda Goodwin</font></div><div><a href="https://www.facebook.com/ComoeMonkeyProject/" target="_blank">Comoé Monkey Project</a><br></div><div><a href="http://facebook.com/GuenonConservationCommunity/" style="color:rgb(17,85,204)" target="_blank">Guenon Conservation Community</a></div></div><div><font color="#888888"><br></font></div><div><div style="font-size:12px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></body></html>