New variable in documents

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
ikaros
Posts: 5
Joined: Thu Jan 22, 2009 10:29 am

New variable in documents

Post by ikaros »

Hi,
I would like to create a variable in document, that gives me the date + 3 days. Let say that today date is 25.03.2009, then the variable result should be 28.03.2009.
Where can i do this? I try to add the new variable, but there is no option for adding + days. Please help.

Ikaros
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: New variable in documents

Post by marco »

Hello Ikaros
You could do it with some workarounds, for example decomposing the date by truncating it in day, month year, adding 3 days and recomposing it, but dealing with change of months and years will be quite complicated.. Can't you use something like "3 days after [today]" in the document?

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply