next_time
Description
Simply returns a time stamp of the next instance of the specified time parameters.
Syntax
int next_time (int $regularity, string $unit, $new_param_1)
Parameter $regularity
Expected type: Integer
Description: How many $units between tasks
Parameter $unit
Expected type: Enumerated String
Description: The specific unit of time. If not one of these values, it will increment in hours.
Possible string values | |
Allowed values | Description |
'd' | Days |
'm' | Minutes |
'w' | Weeks |
Parameter $new_param_1
Expected type:
Description:
Return value
Expected type: Integer
Description: The timestamp of the next instance of the specified parameters