DT_Hour

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > DT (Date Handling) >

DT_Hour

 

This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.

 

Description

 

Returns hours from a given time string.

 

Syntax

 

n = DT_Hour(sTime)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Description

sTime

String

No

The time string, if empty the functions returns the current hours.

 

Remarks

 

Restrictions

 

See also

 

DT_Minute, DT_Second

 

Examples

 

'--- Result: 12

MsgBox 0, DT_Hour("12:13:14")