good epitaph. Mind if I borrow it?

DJS

--- Bobby Clarke <[EMAIL PROTECTED]> wrote:

> What exactly is meant by Days Between? For example
> how many days are there
> between today and tomorrow?
> 
> There is also a difference between days and 24hour
> periods. How many days
> are there between a minute before midnight and a
> minute after?
> 
> All the mechanisms have been explained by others,
> but care is needed to get
> the desired results! (When is it not?)
> 
> 
> Bobby Clarke
> 
> 
> 
>   -----Original Message-----
>   From: [email protected]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Raymond Chow
>   Sent: 22 July 2005 14:11
>   To: [email protected]
>   Subject: [delphi-en] Re: Calculate the difference
> in two dates values not
> datetime
> 
> 
>   Hi Curtis,
> 
>   You can use the StrToDate function to convert your
> date text to a
>   TDateTime.  For example,
> 
>   DaysBetween(Today, StrToDate('07/16/2005')) will
> give you the days
>   between 7/16/2005 and today.
> 
>   Hope this helps
>   Raymond
>   --- In [email protected], Curtis cloud
> <[EMAIL PROTECTED]> wrote:
>   > All,
>   >
>   > I am trying to calculate the diffence in two
> dates for example:
>   >
>   > todays date and 07/16/2005 which should give me
> 5.
>   >
>   > I attempted to use the daysbetween function but
> I believe it only
>   works with two datetime values.
>   >
>   > I have a file name test07/25/2005, I like to
> calculate the
>   difference between the file and todays date and
> delete the file if the
>   date is greater than 365 days.
> 
> 
> 
> 
>  
>
-----------------------------------------------------
>   Home page:
> http://groups.yahoo.com/group/delphi-en/
>   To unsubscribe:
> [EMAIL PROTECTED]
> 
> 
> 
>
----------------------------------------------------------------------------
> --
>   YAHOO! GROUPS LINKS
> 
>     a..  Visit your group "delphi-en" on the web.
> 
>     b..  To unsubscribe from this group, send an
> email to:
>      [EMAIL PROTECTED]
> 
>     c..  Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> Service.
> 
> 
>
----------------------------------------------------------------------------
> --
> 
> 
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to