[Gambas-user] Convertion bug or problemm undestood !!!

Olivier Coquet olivier at ...289...
Tue Nov 11 08:12:23 CET 2003


i've understood a problem with conversion date

folow me

in mysql database date is stored with this format:

mm/dd/yy

when i get a date value from db to put it in a text area form field a convert 
it with cdate
cdate(madate) => dd/mm/yy

when i modify it and want to store it in my data base i try to reconvert it as 
good format with Format$

Format$(madate,"mm/dd/yy")

but it does not work because madate is note a valid format for Format$ 
Function.

Format$ is not reversing

I think it's iportant to implement this in the future 0.72 version of gambas.

regards
Olivier





More information about the User mailing list