date_get_second

Returns the second corresponding to the datetime.

Syntax:

date_get_second(date);


Argument Description
date The datetime to check.


Returns: Real


Description

This function returns the second of the given datetime value.


Example:

mysecond = date_get_second(date_current_datetime());

This would set mysecond to the current second.


Back: Date And Time
Next: date_get_second_of_year
© Copyright YoYo Games Ltd. 2019 All Rights Reserved