๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.visualbasic.ver3
Article #60

Re: Comparing date

#60
From: UCT STUDENT
Date: Mon, 21 Aug 2000 00:00
23 lines
1458 bytes
The easiest way to do this is use the VB6 DateTimePicker control

IF DTPicker1.Value < DTPicker2.value then etc etc et

Hope it helps
Alan


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: <39A10534.40A5FB3D@mail.uct.ac.za>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: UCT STUDENT <BLLALA005@mail.uct.ac.za>
Subject: Re: Comparing date
Date: 2000/08/21
Message-ID: <39A10534.40A5FB3D@mail.uct.ac.za>
X-Deja-AN: 660667911
Content-Transfer-Encoding: 8bit
References: <2kom5.3027$7_5.136777@weber.videotron.net>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@uct.ac.za
X-Trace: news.adamastor.ac.za 966854041 16280 137.158.187.1 (21 Aug 2000 10:34:01 GMT)
Organization: University of Cape Town
Mime-Version: 1.0
NNTP-Posting-Date: 21 Aug 2000 10:34:01 GMT
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,cz.comp.lang.basic.visual