Adding 3 hours to the time

Tags:

#1 bigfoot

Hi. How can I add 3 hours to the time that looks like this 2015-09-10 10:21:11. Something like this?

Exec             $EventTime = parsedate($1) + 3h;
 

#2 adm Nxlog ✓
#1 bigfoot
Hi. How can I add 3 hours to the time that looks like this 2015-09-10 10:21:11. Something like this? Exec             $EventTime = parsedate($1) + 3h;  

I think it should be something like this:

Exec             $EventTime = parsedate($1) + 3*60*60;