Obtains the current time based on the system time of the client machine.
Now ( )
Time. Returns the current time based on the system time of the client machine.
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 or report determines the frequency at which the value of Now is updated. For example, if the timer interval is 1 second, it is updated every second.
This expression returns the current system time:
Now()
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:
If(Now() < 08:00:00, '08:00:00', String(Now()))
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |