<script language="VBscript">
Dim one, two
one = DateValue(#10/5/97#)
two = DateValue(#10/7/98#)
if Year(one)>Year(two) then
myVar = msgbox("one is before two"
elseif day(one)>day(two) then
myVar = msgbox("one is before two"
else
myVar = msgbox("two is before one"
end if
</script> I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
JohnYingling
it was just a example of a way I determined a while ago which date was teh earliest per year value. I guess I just assumed the year thing would be changed to satify the needs here.
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.