[Gambas-user] Probelm with Date
nando
nando_f at ...951...
Wed Jun 22 23:36:17 CEST 2005
That is my problem too.
I asked Benoit about the underlying values with no clear answer.
In VB, date/time is really a double (8B) with the value of 1 (one)
being the difference of one day....so 0.5 is half a day...etc.
I really would like to know the underlying data type
or bit format
I do not know in Gambas...I really wish I did.
-Fernando
---------- Original Message -----------
From: PaquitoSoft <cloroetilo at ...626...>
To: gambas-user at lists.sourceforge.net
Sent: Wed, 22 Jun 2005 23:18:39 +0200
Subject: [Gambas-user] Probelm with Date
> Hi all!
>
> I'm wondering about Date data type.
> Is there anyway to do something like this???
>
> DIM date as DATE
>
> date = Now()
> PRINT "Yesterday -> " & (date - 1)
>
> I kwon you can do in VB, but in Gambas it says that they are
> incompatible types (of course they are...)
>
> Any answer??
>
> Thanks a lot
> --
> El tiempo es un gran profesor. Desafortunadamente, mata a todos sus
> alumnos.
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration
> Strategies from IBM. Find simple to follow Roadmaps, straightforward
> articles, informative Webcasts and more! Get everything you need to
> get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------
More information about the User
mailing list