[Gambas-user] Unix Date conversion

Laurent Carlier lordheavym at ...626...
Tue Jul 25 14:01:09 CEST 2006


Le mardi 25 juillet 2006 10:22, rolf a écrit :
> Hi Laurent
>
> > >    Have a Unix date stored in a table and need to convert it to
> > > something the average human can read... there should be a function for
> > > this... and at the moment I am too tired to write one.. anybody got one
> > > they can part with? I've been looking through the gambas docs and don't
> > > see anything there (although I'm so tired I could walk right past the
> > > answer and not see it).
> >
> > Try this, i just going to do it
> >
> > It's really dirty but it should work
>
> Wouldn't it be better to use/integrate the functions from the C-Library,
> which are tested since many years and offer also localtime-Support??
>
> Then the wheel doesn't need to be reinvented.
>
> Fine regards
> Rolf
>

Why ? Perhaps he don't know anything about C, gambas is really powerful and it 
can be fun to do thing from ourself, not only copy :)

Regards,




More information about the User mailing list