date_get_second


Description

This function returns the second of the given datetime value.


Syntax:

date_get_second(date);

Argument Description
date The datetime to check.


Returns:

Real


Example:

mysecond = date_get_second(date_current_datetime());

This would set mysecond to the current second.