Nathan,<br><br>The local time here (in Utah) is also not UTC, but 
decided to stay with UTC. You see - there is no standard way in Exif to 
tell the time zone ( <a href="http://www.google.com/search?exif+time+zone" target="_blank">http://www.google.com/search?exif+time+zone</a> ) , sometimes it can be done - if the GPS data is available by comparing Exif time with GPS time (also included in Exif).<br>

<br>So we decided to use the UTC as the camera system time, and this time is used in the images.<br><br>If you really want to change that, there are two ways:<br><br>1. Modify the camera driver so it will add/subract certain number of seconds:<br>

<span>   </span><span><a href="http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/sensor_common.c?view=markup" target="_blank">http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/sensor_common.c?view=markup</a><br>

</span>432 

<span></span><span>char</span><span> </span><span>*</span><span> </span><span>exif_meta_time_string</span><span>=</span><span>encode_time</span><span>(</span><span>ccam_dma_buf_ptr</span><span>[</span><span>index_time</span><span>],</span><span> </span><span>ccam_dma_buf_ptr</span><span>[</span><span>index_time</span><span>+</span><span>1</span><span>]);</span><span></span>
<br><br>First parameter of the e<span>ncode_time</span><span></span>() 
accepts number of second since epoch, second - number of additional 
microseconds. So you can just add the number to the first parameter (and
 then rebuild the project)<br>
<br>2. Use the "Windows way" (as opposed to Unix/Linux one) of the system time - set it to the local, not top the UTC.<br>You
 can modify the startup script that sets time from the NTP server over 
the Internet - it is here (sorry, not the really appropriate place):<br>
<br><a href="http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/modules/usb/iop/cris-2.6-R1_05/rc?view=markup" target="_blank">http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/modules/usb/iop/cris-2.6-R1_05/rc?view=markup</a><br>

<br>In the camera file system it is in /etc/init.d/usb - you can edit it right there.<br><br>Andrey<br><br><br><div class="gmail_quote">On Tue, May 31, 2011 at 6:47 AM, Nathan Clark <span dir="ltr"><<a href="mailto:throwstone@gmail.com">throwstone@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi guys,<br><br>I've been pulling my hair out, wondering why I cannot get the camera system time synchronized with my Ubuntu 10.04 PC...<br>
<br>Then I realized... it's 22:44 here in GMT +10<br>and the System Clock is 12:47 UTC (which is actually very close to accurate)<br>
<br>But is there any way to have the camera clock synchronized to my timezone, so that images contain an accurate timestamp for my part of the world?<br><br><br>
<br>_______________________________________________<br>
Support-list mailing list<br>
<a href="mailto:Support-list@support.elphel.com">Support-list@support.elphel.com</a><br>
<a href="http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com" target="_blank">http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com</a><br>
<br></blockquote></div><br>