<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 30 March 2015 at 14:37, J.C. Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":33s" class="" style="overflow:hidden">For the start and end options to rrdtool, it's actually expecting unix<br>
epoch timestamps.</div></blockquote></div><br>Actually, rrdgraph also has pretty good parsing, not necessarily requiring epoch-times.  For example you can say:</div><div class="gmail_extra"><br></div><div class="gmail_extra">   -s "end-1week" -e "now-2d"</div><div class="gmail_extra"><br></div><div class="gmail_extra">meaning "from 2 days ago to one week before then".</div><div class="gmail_extra"><br></div><div class="gmail_extra">and</div><div class="gmail_extra"><br></div><div class="gmail_extra">  -s "-1week" -e "s+2d"</div><div class="gmail_extra"><br></div><div class="gmail_extra">meaning "from 1 week ago to 2 days after then".  ("s"="start"; "e"="end"; "-1week" = "now-1week").</div><div class="gmail_extra"><br></div><div class="gmail_extra">Can also specify dates in human-readable form as long as they comply with the AT-STYLE time specification:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html#IAT_STYLE_TIME_SPECIFICATION">https://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html#IAT_STYLE_TIME_SPECIFICATION</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I think the only error in this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12.8000001907349px">rrdtool fetch $I MAX -r 900 -s "12am Mar 1" -e "12am Mar 27" | egrep</span><br style="font-size:12.8000001907349px"></div><div class="gmail_extra"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8000001907349px">is that you specified "12am" instead of "12:00am" and didn't specify a year.  So try "12:00am Mar 1 2015" for your start time.  If you don't specify a time of day, the year doesn't seem to be required, and I would expect would default to the current year.</span></div><div class="gmail_extra"><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8000001907349px">J</span></div><div class="gmail_extra"><span style="font-size:12.8000001907349px"><br></span></div></div>