Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

How to add hours to a time variable ?

Quote Reply
How to add hours to a time variable ?
Hi,

In a template I print the current time with the variable <%GT::Date::date_get(0, "%H%:%MM%")%>. How can I add directly in the template a specific number of hours to this variable (example: <%GT::Date::date_get + x hours (0, "%H%:%MM% (%d% %mmmm% %yyyy%)")%>)? How can I do that? What is the exact syntax to use?

Thank you very much!

François

Last edited by:

Franco: Oct 29, 2002, 12:35 PM
Subject Author Views Date
Thread How to add hours to a time variable ? Franco 2067 Oct 29, 2002, 12:34 PM
Thread Re: [Franco] How to add hours to a time variable ?
Jagerman 1994 Oct 30, 2002, 5:56 PM
Thread Re: [Jagerman] How to add hours to a time variable ?
Franco 1983 Oct 30, 2002, 6:44 PM
Post Re: [Franco] How to add hours to a time variable ?
Jagerman 1985 Oct 31, 2002, 3:04 PM