Given a date formatted as yyyyMMdd, it's easy to use Convert Time to
turn this in to Unix time (!CTIME) format. Great! Now for the tricky
part. I need the Unix time for the date that is yyyyMMdd + 400 days.

So if you have 20081214 as the date, what's the !CTIME value for
20081214 + 400 days? And can you get there without using XPath?

I'm doing it now with:

<do-set-local-variable name="EndDate" scope="policy">
<token-convert-time dest-format="!CTIME" dest-tz="UTC"
<token-op-attr name="niuGroupStopDate"/>
<do-set-local-variable name="EndDatePlus400" scope="policy">
<token-xpath expression="$EndDate$+34560000"/>

But it really seems like there ought to be an easier or more obvious way
to do this that I'm missing.

David Gersic
Novell Support Forums Volunteer SysOp

Please post questions in the newsgroups. No support provided via email.