Navigation:  thinBasic Modules > DT (Date Handling) >

DT_Minute

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns minutes from a given time string.

 

Syntax

 

n = DT_Second(sTime)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Description

sTime

String

No

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

 

Remarks

 

Restrictions

 

See also

 

DT_Hour, DT_Second

 

Examples

 

'--- Result: 13

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