Gets the seconds component of the current date/time.

Syntax

Smartsite SXML CopyCode image Copy Code
integer datetime.getseconds()
integer datetime.getseconds(datetime dt)

Parameters

Name Data Type Description
dt DateTime A DateTime.

Return Value

Data Type Description
Integer The seconds component of the current date/time.

Expand image Example

SXML