by Ubiquitous <weberm@[EMAIL PROTECTED]
>
Sep 10, 2006 at 06:17 AM
jeff@[EMAIL PROTECTED]
wrote:
>I have a program and am not very familiar with the integer of date
>function. My boss wants a re****t with a start date end-date and number
>of prior years to compare. The catch is he does not just want 070106 -
>072006 he wants the actual corresponding day of last year. Which would
>be 070106 Sat 070205 Sat. Does anyone have a way to handle this?
Isn't there a function which would take the number of day and convert
it to text? If not, just write an EVALUATE statement like:
EVALUATE number-of-day
WHEN 0 THEN
MOVE 'SUNDAY' to text-of-day
WHEN 1 THEN
MOVE 'MONDAY' to text-of-day
WHEN 2 THEN
MOVE 'TUESDAY' to text-of-day
etc.
--
It is simply breathtaking to watch the glee and abandon with which
the liberal media and the Angry Left have been attempting to turn
our military victory in Iraq into a second Vietnam quagmire. Too bad
for them, it's failing.