Here’s my FQL:
$fql = 'SELECT eid FROM event WHERE eid IN (...) AND start_time>now()'
I want something like…
$fql = 'SELECT eid FROM event WHERE eid IN (...) AND start_time-1hour>now()'
or…
$fql = 'SELECT eid FROM event WHERE eid IN (...) AND start_time>now()+1hour'
I think you can just compute the time u want in your program code then outputting to fql query. This way you won’t need a function in fql to subtract or add date time.
Enable ISO Time for events in App Settings (Advanced). Then use the following value for now: