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 creating DateTime values – PB Docs 2019 – PowerBuilder Library

Syntax 1: For creating DateTime values – PB Docs 2019

Syntax 1: For creating DateTime values

Description

Combines a date value and a time value into a DateTime
value.

Syntax

Argument

Description

date

A value of type date.

time (optional)

A value of type time. If you omit time, PowerBuilder
sets time to 00:00:00.000000 (midnight). If you specify time,
only the hour portion is required.

Return value

DateTime.

Returns a DateTime value based on the values in date and
optionally time. If any argument’s value is null, DateTime returns
null.

Usage

DateTime data is used only for reading and writing DateTime values
to and from a database. To use the date and time values in scripts, use
the Date and Time functions to assign values to date and time
variables.

Examples

These statements convert the date and time stored in ld_OrderDate
and lt_OrderTime to a DateTime value that can be used to update the
database:

See also

Date

Time

DateTime method for DataWindows in the section called “DateTime” 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