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

RE: [amibroker] Re: Converting dates.



PureBytes Links

Trading Reference Links









I’d like to see the script if you
don’t mind?  It would be a nice bit to add to the script references in
the email group.

 

d

 

<span
>-----Original Message-----
From: John Rowlinson
[mailto:john@xxxxxxxxxxxxxxx] 
Sent: Tuesday, March 25, 2003 3:40
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re:
Converting dates.

<span
> 

<span
>Tomasz,<font size=2
face="Courier New">

I wanted to predict a date inthe future when an
event would happen 
and to do that I needed to add a specified number
of days to my 
trigger date.  I thought that there may have
been a way to do it in 
AFL but letting me know that there isn't is
fine.  VBScript did the 
job just great.

Thanks



John

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz
Janeczko" <amibroker@xxxx> 
wrote:
> John,
> 
> Frankly I don't see the reason why you would
need to add numbers
> to datenum().
> You can perform calculations on dates using
JScript or VBScript
> Date object. See JScript/VBScript language
references on
> microsoft scripting site <a
href="">http://msdn.microsoft.com/scripting
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "John Rowlinson"
<john@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, March 24, 2003 6:50 PM
> Subject: [amibroker] Converting dates.
> 
> 
> > Hi,
> >
> > If I have a date value from datenum()
and add say 15 then how do I
> > get the date back from the number? - ie
if I take 1/1/03 and add 
15
> > then I want to get 1/16/03 back.
> >
> > Thanks
> >
> >
> >
> > John
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> >
-----------------------------------------
> > Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
> > (Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
> >
--------------------------------------------
> > Check group FAQ at:
> <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/
> >
> >
> >





<font size=2
face="Courier New">Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service. 










Yahoo! Groups Sponsor


  ADVERTISEMENT









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.