Thanks for the reply but I'm not sure what you mean with the "big number"
part, do you mean leave out the "15552000" seciton? We are using DirXML
2.01.


"Father Ramon" <devforums@novell.com> wrote in message
news:1RQBj.711$9J3.112@kovat.provo.novell.com...
> If you are using IDM 3.5 or greater, just use the Time token and set the
> format to !CTIME.
>
> If using an older version and have to use XPath, stop adding a big number
> to the current date if you don't want it to be in the future.
> --
>
> Father Ramon
>
>
> Matt Hudson wrote:
>> Hi,
>>
>> I'm trying to get a unix timestamp for the current date/time and i've
>> purloined this code snippet from the groups:-
>>
>> round(jdate:getTime(jdate:new()) div 1000) + 15552000
>>
>> Problem is, it doesn't seem to work and it gives me a date a few months
>> ahead.
>>
>> Any ideas anyone?
>>
>> Thanks,
>> Matt