--- In Markus Peuhkuri <> wrote:
> Check Peter Elliot's example on other message (with hard-coded dst
> values and other horrors :-). Even that would be much more simple
with
> stftime:
>
> if (Military)
> strftime(stringbuffer, "%H:%M", TimeNow)
> else
> strftime(stringbuffer, "%I:%M %p", TimeNow)
>
Thanks Markus! ;-) That function was written some time ago. I only
care about the Detroit Time zone :) Your code should work much
better...
I only wish there was a good source of documentation for all these
library functions. When I searched on time I did not see anything
related to the strftime function.
Regards,
PJE
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|