No, they are job security and headaches Michael, two things a good
programmer does not need.  ;)

Justin Kidman

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 2:13 PM
To: [EMAIL PROTECTED]
Subject: Re: 2 hours from now -


Fast note on timespan. It returns a number which is a fraction of a day. The
code you placed below will return the number 0.0833333333333 (1/12 of a
day). If you know this already, you can use that number rather than use the
function, saving on some server cycles. If you do, remember to document what
the number means. Undocumented 'magic numbers' are a major no-no in coding.


> Try creating a timespan ie;
> CreateTimespan(0,2,0,0)
> then you can add it to date objects
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
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.mail-archive.com/cf-talk@houseoffusion.com/
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.

Reply via email to