[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Time between two dates


  • Date: Tue, 8 Dec 2009 22:13:50 +0100
  • From: "Markus Witzler" <funnybiz@xxxxxx>
  • Subject: Re: [amibroker] Time between two dates

PureBytes Links

Trading Reference Links



Hi wavemechanic,
 
I considered DaysSince1900 (). But do I change the result back into years, especially when there is a leap year in between?
 
Just by dividing by 365 wouldn´t then be correct, right?
 
I guess one would need to write a function for this...?
 
Thanks
 
Markus
 
 
 
 
----- Original Message -----
Sent: Monday, December 07, 2009 2:19 AM
Subject: Re: [amibroker] Time between two dates

 

Take a look at DaysSince1900()
----- Original Message -----
Sent: December 06, 2009 3:53 PM
Subject: [amibroker] Time between two dates

Hello,
 
could someone tell me how to compute the number of days beetween two dates?
 
The result should be expressed in years, for instance 23.25 years.
 
I thought of using datenum but got stuck...
 
Thanks
 
Markus


__________ Information from ESET Smart Security, version of virus signature database 4665 (20091206) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4668 (20091207) __________

The message was checked by ESET Smart Security.

http://www.eset.com


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___