Dynamic View Services > Specifying Dynamic View Types > Basic Specification > Management of Current Time
 
Management of Current Time
You can use the default runtime attribute currentTime to use the current time in a dynamic view specification. This current time of type MvDateTime can be mapped or used in conditional expressions. The current time is automatically updated by Rogue Wave® Server using a timer. See class IlsMvTimeManager to know how to control the current time.
A notification cycle is triggered each time the current time is updated.
Note: This feature is only available when using the MvTCP communication layer.
Example
Here is an extract of a view specification that uses the currentTime default attribute:
view NetworkView:
represent MyRepresentation repres:
MvDateTime time=view.currentTime;

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.