<cDateTime>.InitFromISO

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Date and Time > cDateTime > cDateTime_Methods >

<cDateTime>.InitFromISO

 

Description

 

Initialize a cDateTime object to a new date and time starting from an ISO 8601 date format.

 

Syntax

 

n = <cDateTime>.InitFromIso(sIso8601String)

 

Returns

 

number: 0 OK

 

Parameters

 

Name

Type

Optional

Meaning

sIso8601String

Numeric

No

ISo 8601 date format

 

Remarks

 

Restrictions

 

Should any of the assigned values be outside of required range, the cDateTime object will remain unchanged.

 

See also

 

Examples