how to modify date with hours [message #1749155] |
Fri, 02 December 2016 07:02  |
Eclipse User |
|
|
|
Hello,
i am new in Jubula and also in IT. I will try to easier and clearer to explain my problem.
For my Jubula test i need as a result of a date function getting present time (hours and minutes) - or + for example 5 hours. I know function for day/month/year, but can not make it with hours...
For example. I use following function to subtract one day from current day and it is working perfect:
?formatDate(?modifyDate(?now(),-1d),'dd.MM.yyyy HH:mm')
BUT with hours (for example: ?formatDate(?modifyDate(?now(),-1H),'dd.MM.yyyy HH:mm')) it does not work.
What am I doing wrong? I will be glad to any idea.
Thank you
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04041 seconds