The problem is that while a 'week' is a definite length of time, a 'month' is not. How long is a month? 30 days? 31 days? 28 days even? It depends. Hence you cannot calculate with months. Use days or weeks instead.
Steve _____ Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: <mailto:[email protected]> [email protected] P Please consider the environment before printing this e-mail From: [email protected] [mailto:[email protected]] On Behalf Of Shabnam Shahreza Sent: Wednesday, 19 October 2011 3:28 a.m. To: [email protected] Subject: [rrd-users] strat and end as month Hi there; In my scripts I manage to use start and end for DEF with "weeks" formatbut anything for "month" comes back with NaN data... I need to use w=something like -12m but this doesn't work as expected. However -52w works for weeks.. Any idea? Regards; Shabnam Shahreza Alpha Group p: 647-259-0443 c: 647-638-6440 f: 416-642-2120 70 York Street, Suite 1501 Toronto, ON M5J 1S9 <http://www.alpha-group.ca/> www.alpha-group.ca Before printing, think about the environment _____ The information in this email is confidential and may be subject to solicitor-client privilege and laws relating to intellectual property. The information contained in this e-mail is intended solely for the addressee(s) and access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately and delete this email from your system without making a copy. You should not copy, use or disseminate the information contained in the email. Any views expressed in this email are those of the individual sender, and, except where the sender specifically indicates, do not reflect the views of Alpha Trading Systems Limited Partnership, its subsidiaries, affiliates, partners, directors, officers or employees.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
