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

Re: [amibroker] dayofweek()



PureBytes Links

Trading Reference Links

Hello,

Yes thats true. This will be fixed in next ver.
The reason is that pre-1970 is using OLEDATE that is slower
but works with pre-1970 dates and 
post-1970 use faster mktime function. They differ
in numbering of days and somehow I missed that.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "qqqqq_99999_qqqqq" <qqqqq_99999_qqqqq@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, October 31, 2003 12:02 AM
Subject: [amibroker] dayofweek()


> Can anyone confirm dayofweek() returns differently?
> 
> before 1969     after 1970
> 
> 1 - Sunday      0 - Sunday
> 2 - Monday      1 - Monday
> ...             ...
> 6 - Friday      5 - Friday
> 7- Saturday     6- Saturday 
> 
> 
> 
> 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 http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/ybSovB/hP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/