Graham
Wed Jul 06 23:10:27 CDT 2005
I don't understand your reply. This is a set of fields. They will remain as
you enter them.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site
http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Justern wrote:
> I got that done...however i couldnt get it to stick to create date -
> thanks
> "Graham Mayor" <gmayor@mvps.org> wrote in message
> news:OyYpfmhgFHA.3164@TK2MSFTNGP15.phx.gbl...
>> You have to be a little imaginative and use CreateDate instead of
>> Date or StartDate
>> eg
>>
>> {QUOTE { SET Delay 14 }{SET a{=INT((14-{CreateDate \@ M})/12)}}{SET
>> b{={CreateDate \@ yyyy}+4800-a}}{SET c{={CreateDate \@
>> M}+12*a-3}}{SET d{CreateDate \@ d}}{SET
>> jd{=d+INT((153*c+2)/5)+365*b+INT(b/4)-INT(b/100)+INT(b/400)-32045+Delay}}{SET
>> e{=INT((4*(jd+32044)+3)/146097)}}{SET
>> f{=jd+32044-INT(146097*e/4)}}{SET g{=INT((4*f+3)/1461)}}{SET
>> h{=f-INT(1461*g/4)}}{SET i{=INT((5*h+2)/153)}}{SET
>> dd{=h-INT((153*i+2)/5)+1}}{SET mm{=i+3-12*INT(i/10)}}{SET
>> yy{=100*e+g-4800+INT(i/10)}}{=dd*10^6+mm*10^4+yy \# "00'-'00'-'0000"}
>> \@ "dddd, d MMMM yyyy"}
>>
>> The delay at the beginning is the difference between the createdate
>> and the
>> required future date and the format at the end is the display format
>> of the
>> inserted date itself.
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site
http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>> Justern wrote:
>>> Genius - however doesnt explain how to do it from the create date -
>>> merely the current date, but still helps