Navigation:  ThinBASIC Language > thinBasic Functions > Date and Time > cDateTime > cDateTime_Properties >

<cDateTime>.UnixTime

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the UnixTime corresponding to the local date time stored into a cDateTime object.

 

Syntax

 

n = <cDateTime>.UnixTime

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

UnixTime represents the seconds since Jan 01 1970. (UTC)

 

Restrictions

 

IMPORTANT: This property assumes that current date and time stored into cDateTime object is a local time.

 

See also

 

Examples