No need to do the dayOfYear conversions - just use the dates and do
dateAdd:

expiryDate = dateAdd("d",30,now())

Then if necessary:

expiryDayOfYear = dayOfYear(expiryDate)

**************************
Billy Cravens
Web and Software consulting
www.Architechx.com
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of PJ Gaenir
Sent: Tuesday, December 24, 2002 12:36 PM
To: [EMAIL PROTECTED]
Subject: Day of year / reverse

I see the function for dayofyear, but if I want to add a number to that
(to allow 
registrants X days in the site) and then convert it back (if it's <
365), how 
would I do that?  I don't see a way to go in the reverse direction in
the docs.  
Thanks. PJ

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   Send UNSUBSCRIBE to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org



-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   Send UNSUBSCRIBE to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to