Subject | Re: [IB-Architect] Date Conversions and Arithmetic |
---|---|
Author | Adam Clarke |
Post date | 2001-10-29T23:49:06Z |
Love IT!
Listen to to Anne but make sure those of us with financial quarters that
work
Q1 = (YYYY)-07-01
Q1 = (YYYY)-07-01
Listen to to Anne but make sure those of us with financial quarters that
work
Q1 = (YYYY)-07-01
Q1 = (YYYY)-07-01
----- Original Message -----
From: "Jim Starkey" <jas@...>
To: "Gregory Deatz" <gdeatz@...>; "Ann Harrison"
<harrison@...>; <chris@...>; "Paul Beach"
<pabeach@...>; <IB-Architect@yahoogroups.com>
Sent: Tuesday, October 30, 2001 10:55 AM
Subject: [IB-Architect] Date Conversions and Arithmetic
> I've just implemented a cute hack: the manefest constants
> "thismonth", "thisyear", and "thisday" in date string.
> The conversion code recognizes things of the forms:
>
> thismonth [+/- <number>]
> thisyear [+/- <number>]
> thisday [+/- <number>]
>
> in date strings where a month, year, or day could otherwise be
> used.
>
> "thismonth 1" is the first of this month
> "thismonth+1 0" is the last of this month
> "thismonth thisday+7" is next week
> "thismonth 0" is the last day of last month
> "thismonth+2 25" is Chrismas (if you read this in Oct.)
> "thismonth" is the last day of last month (think about it)
>
> obvious the normal validation checking is turned off -- month,
> yea years, rollover as required.
>
> Ann is lobbying for "thisquarter" as well. The jury is still out
> on that one.
>
> Thoughts? Comments? Love it? Hate it?
>
> Jim Starkey
>
> To unsubscribe from this group, send an email to:
> IB-Architect-unsubscribe@onelist.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>