date_inc_minute(date,amount)

From ENIGMA
Jump to navigation Jump to search

Description

Creates a new date-time value from the given date-time value with the current minute incremented by the given amount and returns the new date-time value.

Parameters

Parameter Data Type Description
date time_t the original date-time value
amount integer numbers of minutes to increment by

Return Values

time_t: Returns the new date-time value with the current minute incremented.

Example Call

// demonstrates getting the time 1 minute from now
var tim;
tim = date_inc_minute(date_current_time(), 1);