Difference between revisions of "DateTime.Second"

From Xojo Documentation

 
Line 9: Line 9:
 
| newinversion=2019r2
 
| newinversion=2019r2
 
}}
 
}}
{{Descriptiona
+
{{Description|text = The second number of the time portion of the date.}}
|text = The second number of the time portion of the date.}}
 
  
 
==Sample Code==
 
==Sample Code==

Latest revision as of 19:18, 12 November 2019

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