Dates Difference

From: karan (kabi_240_at_hotmail.com)
Date: 04/29/04


Date: 28 Apr 2004 22:09:24 -0700

Hi,
I need to get the difference between 2 dates (in number of days), how
do i get that in vc++? I have used the DateDiff function in asp but
couldn't find anything like that.
Also, how can i convert string to a date?
thanks in advance

karan



Relevant Pages

  • Re: Validating 1st Date is Before 2nd Date
    ... don't forget to convert the String from the text box to a date first - ... then look at the DateDiff function ... > I have two text boxes on a form, ... Checked by AVG anti-virus system. ...
    (microsoft.public.vb.general.discussion)
  • Re: Results between times
    ... Use the DateDiff function to get the difference in minutesand then use the ... result to construct a string with the desired output ... X = DateDiff("n",Field1, Field2) ...
    (microsoft.public.access.modulesdaovba)
  • Re: Time calculation
    ... Use the same formula for Saturday and Sunday but don't subtract the half hour out. ... DateTime math should be done using the DateDiff function. ... If you return "" as an option then the IIF will return a STRING with number characters for the second part. ...
    (microsoft.public.access.queries)