Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
29 posts
|
I
would calculate the end dates of each period, with the plus method applied to
the starting date (i.e. today.plus(myPeriod)) ). Now, with the start and the end
dates, you calculate the time between them:
Time
myTime = Actual365().yearFraction(today, endDay)
Is
this what you were looking for?
ciao
Francesco
... [show rest of quote] ############################### DISCLAIMER #################################This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Banca del Gottardo (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Banca del Gottardo (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ############################################################################ |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
23 posts
|
Wow, a neat trick! Francesco ,thanks very much for your help.
Regards,
Amar Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard |
Free forum by Nabble | Disable Popup Ads | Edit this page |