Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [date date! month month-bounds] MONTH-BOUNDS func design

From: gregg::pointillistic::com at: 29-Jan-2008 4:51

Hi Carl,
>>People may recall my RANGE and BOUNDS funcs.
CR> Ah. But that's cheating! :-) No it's not. Remember, the question is about a MONTH-*BOUNDS* func. :)
>>CR> But only for the end of the month, since... >> >>>>> 1-jan-2008 = 1-jan-2008/0:0:0 >>CR> == true >> >>"only for the end of the month" would be kind of critical to that kind >>of query though, yes? :)
CR> Yes, hence I agree we need a days-in-the-month function... days-in-month isn't enough by itself though, since it has no concept of a time associated with each day, which needs to be 0:0:0 for the first day and 23:59:59 for the last. -- Gregg