[Gambas-user] How to check if i 'is a valid date?

Hans-Martin Bundeshund bundeshund at ...467...
Thu Aug 19 10:08:44 CEST 2004


Salute Benoit,

I am not at home this moment, so I must guess: I still
use the 0.95(a? If there is an 'a'-version, I use it.)
version, but I will update to 0.96a this afternoon.
Setting the date with this: IsDate("2004/01/01") is no
problem. 

But I haven't the code here. I must wait till I am at
home again...

regards,

HM

PS: I still did not tested the MySQL-Connection with
password over IP... Sorry for that! (And I also wanted
to write some samples for the Wiki (using some better
english with the _right_ syntax) Time is a expansive
thing...)


 --- Benoit Minisini <gambas at ...1...>
schrieb: 
> On Thursday 19 August 2004 08:05, Hans-Martin
> Bundeshund wrote:
> > Salute!
> >
> > I try to use the IsDate()-function, but can not
> use
> > it. I have have three integers: act_year,
> act_month
> > and act_day. When I try
> IsDate(format$(act_year,"00")
> > & "/" & format$(act_month, "00") & "/" &
> > format$(act_day,"00")), I get an error, that
> IsDate
> > whants a date, not a string.
> >
> > So how to?
> >
> > regards,
> >
> > HM
> >
> 
> I have no error with your code. Which version of
> Gambas do yo use ?
> 
> -- 
> Benoit Minisini
> mailto:gambas at ...1...
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest
> price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R
> for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping
> and Free Gift.
>
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/gambas-user
>  


	

	
		
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de




More information about the User mailing list