[Gambas-user] How to use DateDiff
nigel at ...38...
nigel at ...38...
Thu Apr 14 12:39:58 CEST 2005
Rolf,
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).
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))
regards
Nigel
> Message date : Apr 11 2005, 07:21 PM
> From : "Rolf Schmidt" <rolf.frogs at ...221...>
> To : gambas-user at lists.sourceforge.net
> Copy to :
> Subject : [Gambas-user] How to use DateDiff
>
> Hi everybody out there
>
> ... I don't know how to call the DateDiff() function. Could somebody give me a
> short example?
>
> Of which class DateDiff is a method?
>
> Fine regards
> Rolf
> >
> [ (no filename) (0.2 Kb) ]
--
Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/
This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm
More information about the User
mailing list