Re: Days and hours
Re: Days and hours
- Subject: Re: Days and hours
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 16 Oct 2005 20:45:55 -0400
On 10/16/05,
Michelle Steiner <
email@hidden> wrote:
On Oct 16, 2005, at 5:26 PM, Mark J. Reed wrote:
> if mon is less than month of working_month then set year of
> working_month to (year of working_month) - 1
> -- If the month selected is less than the current month, then it was
> selected for the previous year; adjust the year accordingly.
>
> That doesn't make sense to me. Shouldn't it be a month *after* the
> current month that triggers the "prior year" assumption?
No, if the month is before the current month, then it is in the
following year. Normally, this would be a December and January
situation.
We have different assumptions, then. If I'm figuring out how much
to pay a worker for a month of work, chances are that month is in the
past, not the future. So if it's December and I put in January, I
mean *last* January, and the year is the same. Whereas if it's
October and I put in November, I must mean November of last year,
because November of this year hasn't happened yet, so the employee
can't have put in any hours in it.
If the current month is January, and the employment month is
December, then the current month must be in the year after the
employment month.
-- Michelle
--
Your right to free speech does not incur an obligation for anyone to
listen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden