date_inc_minute


Description

With this function you can increment a given datetime value by a specific number of minutes, and it will return the new datetime value.


Syntax:

date_inc_minute( date, amount );

Argument Description
date The datetime to add to.
amount The number of minutes (must be an integer) to add.


Returns:

Real


Example:

mynewdatetime = date_inc_minute(date_current_datetime(), 60);

This would set "mynewdatetime" to the current date but with 60 minutes added.