Re: datagrid format question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rick Spiewak (rickspiewak_at_mindspring.com)
Date: 07/15/04


Date: Wed, 14 Jul 2004 23:57:12 -0400

You can get the time interval by converting both date strings to date types
and computing the difference.

"ibeetb" <tb20169@aol.com> wrote in message
news:OyzxQEeaEHA.1048@tk2msftngp13.phx.gbl...
> I have two fields, both are date and time fields that populate two of the
> columns in my datagrid. The format from the database is: 7/14/2004
09:14:00
> AM for both (the times would be different - one is start time one is stop
> time)
>
> I need this to be formatted in a way that I can subtract the two times and
> get a time interval. Anyone know????
>
>



Relevant Pages

  • Re: Entropy
    ... There is quite some material out there which proves that computing KC on any *finite* sentence is not possible. ... So it makes no difference for the "incomputability" if you take finite or infinite inputs. ... the concept of KC on finite strings (even though all textbooks I ... There is a universal partial recursive function ...
    (comp.compression)
  • Unicode USB strings conversion
    ... In the USB code unicode ... characters in strings are converted in a very crude way to ASCII. ... attempts at making the kernel use UTF8. ... of converting LE and BE UTF8 to ASCII. ...
    (freebsd-hackers)
  • Re: Math
    ... converting them to strings, then back, the precision will be lost. ... string is performed by the C compiler, whence Perl is at the mercy of ...
    (comp.lang.perl.misc)
  • Re: Speed comparison of regex versus index, lc, and / /i
    ... "index" is better for matching fixed strings than using regular ... As a test of the proposition that index is better than regexes, ... doing the matching, rather than converting the strings using lc, saved ... spent converting to lower case. ...
    (comp.lang.perl.misc)
  • Re: ptrdiff_t maximum
    ... precision loss when converting back to integer. ... That's OK, strings of ... those sizes would be ridiculous anyway. ...
    (comp.lang.c)