<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV>
<P><SPAN class=595481605-08042008><FONT size=2>I have a GUI interface ,where in
user selects the Area (for ex: Africa) and Zone name(for ex: Cairo).How do i map
this /etc/TZ file,as there will be&nbsp;different Area and
Zone</FONT></SPAN></P>
<P><SPAN class=595481605-08042008><FONT size=2>to be set.Is there any functions
in "C' which would solve my issue or any other method ?</FONT></SPAN></P>
<P><FONT size=2>I found that uClibc uses /etc/TZ to set the time zone it does
not use /etc/localtime nor does it understand the timezone data .so will
changing UCLIBC_TZ_FILE_PATH it to /etc/localtime in uClibc-0.9.29.config file
will solve my issue??</FONT></P>
<P><FONT size=2>how do I map this to /etc/localtime so as to set a valid
timezone.</FONT></P>
<P><FONT size=2></FONT></P>
<P><FONT size=2>The procedure I tried is :</FONT></P>
<P><FONT size=2>ln -sf /usr/share/zoneinfo/Africa/Cairo
/etc/localtime.</FONT></P>
<P><FONT size=2></FONT></P>
<P><FONT size=2>alternatively I find that executing echo CET-1DST &gt;/etc/TZ
does work.</FONT></P>
<P><FONT size=2></FONT></P>
<P><FONT size=2>Please update me on how to solve this issue<SPAN
class=595481605-08042008> in C program ( for ex:&nbsp;Take Africa/Cairo as input
and convert to its respective daylight saveing time as above
)&nbsp;</SPAN></FONT></P>
<P><SPAN class=595481605-08042008><FONT face=Arial
size=2>-vinod</FONT></SPAN></P></DIV></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no  liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.<br>
The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. <br>
<br>
www.aztecsoft.com<br>
</font></td></tr></table>