date_get_second

This function returns the second of the given datetime value.

 

Syntax:

date_get_second(date);

ArgumentTypeDescription
dateDatetimeThe datetime to check.

 

Returns:

Real

 

Example:

mysecond = date_get_second(date_current_datetime());

This would set mysecond to the current second.