CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2000
    Posts
    3

    Date and Time Difference

    Does any body Know the API or some other alternative in VB to calculate the differnce between two system dates including time.Please Help ..


  2. #2
    Join Date
    Apr 2000
    Location
    Dorado, P.R.
    Posts
    221

    Re: Date and Time Difference

    In Visual Basic, the command is

    variable=DateDiff("?",firstdate,seconddate)

    I hope this help

    adcomp
    Puerto Rico


  3. #3
    Join Date
    Jun 2000
    Posts
    3

    Re: Date and Time Difference

    Actually I am Begginnerin VB , Thanks for help ..Let me Try ...


  4. #4
    Join Date
    Jun 2000
    Posts
    3

    Re: Date and Time Difference

    variable=DateDiff("?",firstdate,seconddate)
    Do i have to use something in place of "?" or just put in my field names in place of firstdate and seconddate and any Variable name .


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

Featured