๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Comparing date

#61
From: Dan
Date: Mon, 21 Aug 2000 00:00
29 lines
1526 bytes
MS's suggested method for comparing dates is DateDiff

On Mon, 21 Aug 2000 12:32:20 +0200, UCT STUDENT
<BLLALA005@mail.uct.ac.za> wrote:

>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: <39a1c095.945559@news-server>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <2kom5.3027$7_5.136777@weber.videotron.net> <39A10534.40A5FB3D@mail.uct.ac.za>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 108062,b6db5136ee9b1c1d
X-Google-Attributes: gid108062,public
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
From: dbrussee@iname.com (Dan)
Subject: Re: Comparing date
Date: 2000/08/21
Message-ID: <39a1c095.945559@news-server>
X-Deja-AN: 660922927
References: <2kom5.3027$7_5.136777@weber.videotron.net> <39A10534.40A5FB3D@mail.uct.ac.za>
X-Complaints-To: abuse@rr.com
X-Trace: typhoon-news2.southeast.rr.com 966901913 24.88.253.155 (Mon, 21 Aug 2000 19:51:53 EDT)
Organization: Road Runner - NC
NNTP-Posting-Date: Mon, 21 Aug 2000 19:51:53 EDT
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,cz.comp.lang.basic.visual