On Mon, Feb 4, 2013 at 8:42 PM, Dave <span dir="ltr"><<a href="mailto:dave@flex.com.au" target="_blank">dave@flex.com.au</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"> In the year 2013, of the month of February, on the 4th day, Larry Baker wrote:<br>
> What about "2012-02~4" (leave off the "-")? Thus, "-" implies day (days<br>
> from the start) of the month, "~" implies days from the end of the month.<br>
<br>
</div> Nice. I like this one. Simple, neat, and feels right. The tilde is<br>
significantly different, that I can tell at a glance it's not a standard<br>
date format, yet similar enough that it feels like one.<br>
<div class="im"><br>
<br>
> Should both notations have the same "1" base? That is, "*-*-1" is the<br>
> first day of the month. Is "*-*~1" the last day of the month? Or, is "~"<br>
> a delta, so that "*-*~0" is the last day of the month?<br>
<br>
</div> A delta makes sense from a mathematical perspective, but intuitively,<br>
"~1" leaps out at me as last-day-of-month, "~2" as second last day, etc.<br></blockquote><div><br></div><div>Like a Bash 0-based array offset: ${array[*]: -1}</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
dave.k</blockquote></div>