[rrd-users] strat and end as month

Steve Shipway s.shipway at auckland.ac.nz
Tue Oct 18 23:09:23 CEST 2011


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:s.shipway at auckland.ac.nz> s.shipway at auckland.ac.nz

P Please consider the environment before printing this e-mail 

 

 

From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
Behalf Of Shabnam Shahreza
Sent: Wednesday, 19 October 2011 3:28 a.m.
To: rrd-users at lists.oetiker.ch
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20111018/4306dc0e/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4928 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20111018/4306dc0e/attachment-0001.bin 


More information about the rrd-users mailing list