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

SetDateValue – PB Docs 2022 – PowerBuilder Library

SetDateValue – PB Docs 2022

SetDateValue

Description

Sets the text value of a PBDOM_ATTRIBUTE object. The SetDateValue
method creates this text value by serializing the provided date value
into a string.

Syntax

Argument

Description

pbdom_attribute_name

The name of the PBDOM_ATTRIBUTE

dateValue

A date value to be set for the
PBDOM_ATTRIBUTE

strDateFormat

The format in which the date value is to be set for
the PBDOM_ATTRIBUTE, for example, MM:DD:YYYY

The value of the strDateFormat parameter can include slashes or
colons as delimiters. The following table illustrates characters having
special meaning in strDateFormat.

Character

Meaning

Example

D

Day number with no leading zero

5

DD

Day number with leading zero, if
applicable

05

M

Month number with no leading zero

5

MM

Month number with leading zero, if
applicable

05

YY

Two-digit year number

05

YYYY

Four-digit year number

2005

Return value

PBDOM_ATTRIBUTE. The PBDOM_ATTRIBUTE from which the SetDateValue
method was invoked.

See also

GetDateValue


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