Calantha Posted August 22, 2005 Posted August 22, 2005 Hello, I would like to do a date calculation where I take a start date and add 46 weeks onto it to find out the end date. No matter what I do seems to return a completely wrong value (year 0061 for example). How can I add weeks onto a date and is it possible?
RalphL Posted August 22, 2005 Posted August 22, 2005 (edited) Dates are number of days. Therefore to add 46 weeks you need to add 322 days. NewDate = OldDate + 322. Edited August 22, 2005 by Guest Omission
Calantha Posted August 22, 2005 Author Posted August 22, 2005 I realized what my issue was... My start date field was a text field so it was getting all crazy. Thanks though!
Calantha Posted August 22, 2005 Author Posted August 22, 2005 But... I have another question. If my date field is formatted "Friday, September 01, 2005" how come when I reference the field via <> it appears 09/02/05?
Calantha Posted August 22, 2005 Author Posted August 22, 2005 Nevermind, it works now. But stops working and then starts again off and on. Hmmm... Oh well.
-Queue- Posted August 22, 2005 Posted August 22, 2005 Formatting applies only to a particular instance of a field on a layout. The data in that field does not change. For a date merge field to display as desired, it must be formatted as well. If it is contained within a text block, then right-click on the text block and select Date Format, which will format all date merge fields within it in the same manner.
Recommended Posts
This topic is 7100 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now