|
-
Dec 29th, 1999, 04:39 PM
#1
Thread Starter
New Member
Please help Me!
I'm Programmer beginner and I use VB6. Here is mine problem.
I set following variables:
Date1 - presenting current date in format "dd.mm.yyyy."
Date2 - presenting end date also in format "dd.mm.yyyy."
Date3 - presenting difference between current date and end date
Wenn I use relationship Date3 = Date2 - Date1 in order to calculate difference between 15.12.1999. and 05.01.2000. I get negative number (-10). Same situation is wenn I use Date3 = DateDiff("d", Date1, Date2).
What must I do to get correct date difference?
Thank You!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|