[tz] Reading binary files

Derick Rethans tz at derickrethans.nl
Wed Nov 2 13:08:01 UTC 2011


On Wed, 2 Nov 2011, Thom Hehl wrote:

> OK, I give up. I've tried looking at the source code and it's hopeless.
> 
>  
> 
> Can someone please explain to me how to read the binary files and turn
> it into timezone information?
> 
>  
> 
> All I need to do is write  a function that will take a UTC date and
> convert it into a timezone with a name that I specify and convert it
> back again. (I understand there are precision issues with the last one.)

I've code for that at:
http://svn.xdebug.org/cgi-bin/viewvc.cgi/timelib/trunk/?root=php

svn co svn://svn.xdebug.org/svn/php/timelib/trunk timelib

regards,
Derick



More information about the tz mailing list