Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Syntax 1: For DateTime and blob values – PB Docs 2022 – PowerBuilder Library

Syntax 1: For DateTime and blob values – PB Docs 2022

Syntax 1: For DateTime and blob values

Description

Extracts a time value from a DateTime value or a blob.

Syntax

Argument

Description

datetime

A DateTime value or a blob in which the first value is a
time or DateTime value. The rest of the contents of the blob
is ignored. Datetime can also be an Any variable containing a
DateTime or blob.

Return value

Time.

Returns the time in datetime as a time. If datetime does not
contain a valid time or is an incompatible datatype, Time returns
00:00:00.000000. If datetime is null, Time returns null.

Examples

After StartDateTime has been retrieved from the database, this
example sets StartTime equal to the time in StartDateTime:

Suppose that the value of a blob variable ib_blob contains a
DateTime value beginning at byte 32. The following statement extracts
the time from the value:

See also

Time method for DataWindows in the section called “Time” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x