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

Now – PB Docs 2019 – PowerBuilder Library

Now – PB Docs 2019

Now

DataWindow expression function

Description

Obtains the current time based on the system time of the client
machine.

Syntax

Return value

Time. Returns the current time based on the system time of the
client machine.

Usage

Use Now to compare a time to the system time or to display the
system time on the screen. The timer interval specified for the DataWindow
object determines the frequency at which the value of Now is updated. For
example, if the timer interval is one second, it is updated every second.
The default timer interval is one minute (60,000 milliseconds).

Examples

This expression returns the current system time:

This expression sets the column value to 8:00 when the current
system time is before 8:00 and to the current time if it is after
8:00:

The displayed time refreshes every time the specified time interval
period elapses.

If a static value of time is required (for example, the time when a
report has been executed or the retrieve has started), you can use a
static text field that you modify as follows:

See also

If

Year

Now in the section called “Now” in PowerScript 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