Results 1 to 3 of 3

Thread: What's wrong with my code.......???????

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    445

    What's wrong with my code.......???????

    Help!! I cannot get correct value after I minus both Month value...

    lblValue.Caption = Month(CDate("May-2009") - CDate("Mar-2009"))

    The result suppose have to get lblValue.Caption = "2" but I get lblValue.Caption = "3"...
    what's wrong with this simple minus code?
    Last edited by wenight; Mar 16th, 2009 at 03:07 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width