[Gambas-user] How to use DateDiff
Rolf Schmidt
rolf.frogs at ...221...
Fri Apr 15 10:27:08 CEST 2005
Hi Nige
> Make sure you have the vb component included in you project (check .project
> file in your project directory for the line library=gb.vb.....or use the
> IDE :-), then use vb.DateDiff( as in the help).
This was the needed info.
> For example:
>
> PRINT "Day diff between 04/01/2001 and 21/01/2001 is " & vb.DateDiff("d",
> Date(2001,01,04), Date(2001,01,21))
Thank you very much.
Fine regards
Rolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050415/e187417a/attachment.sig>
More information about the User
mailing list