From Xojo Documentation

Revision as of 21:24, 12 August 2019 by Gperlman (talk | contribs)

Read-Only Property (As Integer )
IntegerValue = aDate.Second

Supported for all project types and targets.

The second number of the time portion of the date.

Sample Code

The following code displays the Second property.

Var d As Date = Date.Now
Label1.Value = d.Second.ToString