Re: Date Conversions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:

> This is just a "thank you" note to Carl White for his Date Conversion
> library.

You're welcome. :)

>          I have used this to solve a client's problem. They have a
> web log file that didn't handle GMT conversions correctly so I wrote
> a small Eu program (1 hour's work) to convert the daily log file. It
> takes a few seconds to convert 3megs. They can't believe that it took
> so little time to write the utility, and it takes so little time to
> run. Another happy Euphoria end-user.

*Shudder* Log conversions. Been there, still do that - for customers here at
work. Unfortunately, we have 'tools' already to do the conversion. If I had
the time and (less specifically) the inclination, I'd rewrite them in Eu.

I was looking into making the library a bit more generic, i.e. allowing
parameters to functions that accept Dates to also accept DateTimes, etc. But
if it's speed people are wanting, maybe that's not such a good idea...

While I was examining the code, I found I've 'left the handbrake on' in the
library - there's a spurious 'with trace' in there that can be removed, and
there's a 'trace(1)' in one of the functions. Yuck. :(

I'll post an update to Rob when I have the time. ;)

Going to deflate head now,
Carl

--
[ Carl R White -=- aka -=- Cyrek the Illogical ]
[ () E-mail...:     cyrek{}cyreksoft.yorks.com ]
[ /\ URL......: http://www.cyreksoft.yorks.com ]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu