RE: udf for next working days

2003-07-30 Thread David Collie (itndac)
Soz Kola... woz a wee bit frantic there and never thought to look at
cflib.org

here it is here for reference

http://www.cflib.org/udf.cfm?ID=513

Cheers :-)

DC

-Original Message-
From: Kola Oyedeji [mailto:[EMAIL PROTECTED] 
Sent: 30 July 2003 17:49
To: CF-Talk
Subject: RE: udf for next working days


I don't have one to hand but check out www.cflib.org

There should be something close to this you can use or amend.

Kola

>> -Original Message-
>> From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
>> Sent: 30 July 2003 17:43
>> To: CF-Talk
>> Subject: udf for next working days
>> 
>> Anybody point me quickly in the direction of a script that will
always
>> be the next _working_ day date
>> 
>> (ie if i pass it a date that is a Saturday... it will return the 
>> Monday's date)
>> 
>> can do logic myself.. but got a demo pretty shortly!
>> 
>> tia
>> 
>> DC
>> 
>>


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: udf for next working days

2003-07-30 Thread Kola Oyedeji
I don't have one to hand but check out www.cflib.org

There should be something close to this you can use or amend.

Kola

>> -Original Message-
>> From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
>> Sent: 30 July 2003 17:43
>> To: CF-Talk
>> Subject: udf for next working days
>> 
>> Anybody point me quickly in the direction of a script that will
always
>> be the next _working_ day date
>> 
>> (ie if i pass it a date that is a Saturday... it will return the
>> Monday's date)
>> 
>> can do logic myself.. but got a demo pretty shortly!
>> 
>> tia
>> 
>> DC
>> 
>>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



udf for next working days

2003-07-30 Thread David Collie (itndac)
Anybody point me quickly in the direction of a script that will always
be the next _working_ day date

(ie if i pass it a date that is a Saturday... it will return the
Monday's date)

can do logic myself.. but got a demo pretty shortly!

tia

DC

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Working Days

2000-05-15 Thread Beth Usouski

 
will give you saturday and sunday.

seems to me you should just loop it through your action and ignore the action/count on 
the weekend.

Stewart McGowan wrote:

> I'm writing a project management package which basically tracks our
> production line,
> however i'm having problems with calculating a critical path,
>
> I convert our local date sructure to a US one ie dd/mm/ to mm/dd/
> then i do some basic validation on the start date - IsDate - isLeapYear
> etc...
> then i get the day - because i want to cut out weekends if its a saturday i
> add
> two if its a sunday i add one.here's the problem, how do i cut out the
> non working
> days?? For instance If a job were to start on a wednesday and take five
> working days
> i would want it to finish on the tuesday rather than on the monday if u see
> what i mean?
>
> any help would be appreciated
>
> tia
>
> Stew
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Working Days

2000-05-15 Thread Stewart McGowan

I'm writing a project management package which basically tracks our
production line, 
however i'm having problems with calculating a critical path, 

I convert our local date sructure to a US one ie dd/mm/ to mm/dd/
then i do some basic validation on the start date - IsDate - isLeapYear
etc...
then i get the day - because i want to cut out weekends if its a saturday i
add
two if its a sunday i add one.here's the problem, how do i cut out the
non working
days?? For instance If a job were to start on a wednesday and take five
working days
i would want it to finish on the tuesday rather than on the monday if u see
what i mean?

any help would be appreciated

tia

Stew
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.