DateTime.Second

From Xojo Documentation

Revision as of 19:18, 12 November 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

New in 2019r2

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 DateTime = DateTime.Now
Label1.Value = d.Second.ToString