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

GetValueDate – PB Docs 2019 – PowerBuilder Library

GetValueDate – PB Docs 2019

GetValueDate

Description

Gets the date value of the key.

If more than one key with the same name exists, then get the value
of the first key. Notice that the IgnoreCase property (true by default)
determines whether the key name will be matched in a case-sensitive
manner.

Applies to

JSONPackage

Syntax

Argument

Description

objectname

The name of the JSONPackage object

Key

A string specifying the key of the item of JsonStringItem
type. If more than one key with the same name already exists,
the value of the first key will be obtained.

Return value

Date. Returns the key value if it succeeds. If any argument’s value
is null, the method returns null. If an error occurs, throw the
exception.

Examples

This example obtains the value of the birthday key from the JSON
string, and converts the value from a string to a date.

The developer is recommended to check if the type of the key value
is date before executing GetValueDate. If it is not a valid date-type
value or it is a datetime-type value, the program will throw an
exception.

See also

SetValueDate

GetValueBlob

GetValueBoolean

GetValueDateTime

GetValueNumber

GetValueString

GetValueTime

GetValueToDataWindow


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