date_get_second_of_year( date );
Argument | Description |
---|---|
date | The date to check. |
Returns: Real
This function returns the second of the given datetime value
within the year (from the total number of seconds for the year,
taking into account leap years).
mysecondyear = date_get_second_of_year(date_current_datetime());
This would set "mysecondyear" to the current second of the year.