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

Value – PB Docs 2019 – PowerBuilder Library

Value – PB Docs 2019

Value

property for PowerScript controls

Applies to

DatePicker controls

Description

Specifies the date/time value assigned to the control. The date part
of the Value property uses the format for short dates specified in the
regional settings in the Windows control panel on the local computer. The
time part of the Value property uses the time format specified in regional
settings.

The Value defaults to the current date and time.

Usage

In the painter

To set the Value property:

  • Select a date from the Value drop-down calendar on the General
    page of the Properties view or type a date and optional time into the
    Value box.

In scripts

The Value property takes a DateTime value. The value you assign must
be capable of being interpreted as a DateTime value. You can use the
DateValue and TimeValue properties to extract the date and time parts of
the Value property.

This example sets the Value property to midday on July 1, 2005. The
display format depends on the value of the Format and CustomFormat
properties and the regional settings for date and time on the local
computer:


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