Article View: alt.comp.lang.visualbasic.ver3
Article #66Re: Comparing date
From: David May
Date: Wed, 16 Aug 2000 00:00
Date: Wed, 16 Aug 2000 00:00
24 lines
1318 bytes
1318 bytes
Sebastien Your code will work as written if you specify date1 and date2 as date datatypes - possibly using the cvdate function to ensure that entered dates are converted to dates correctly. Regards David Sebastien Thibault wrote: > > How do I do to compare 2 date togeter like > > If Date1 < Date2 Then > Print "Date1 is smale" > Else > Print "Date2 is smale" > End If > > What is the function to compare date in Visual Basic? > > Thanks > > S๏ฟฝbastien
Technical Details
Message-ID:
<399A7CC3.DADDD636@ford.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<2kom5.3027$7_5.136777@weber.videotron.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1023e1,b6db5136ee9b1c1d X-Google-Attributes: gid1023e1,public X-Google-Thread: 110e3b,b6db5136ee9b1c1d X-Google-Attributes: gid110e3b,public X-Google-Thread: 1143a7,b6db5136ee9b1c1d X-Google-Attributes: gid1143a7,public X-Google-Thread: 108062,b6db5136ee9b1c1d X-Google-Attributes: gid108062,public From: David May <dmay7@ford.com> Subject: Re: Comparing date Date: 2000/08/16 Message-ID: <399A7CC3.DADDD636@ford.com> X-Deja-AN: 658904947 Content-Transfer-Encoding: 8bit References: <2kom5.3027$7_5.136777@weber.videotron.net> Organization: Ford Motor Company Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,cz.comp.lang.basic.visual