ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Date and Time


Article ID: 199520


Updated On:


CA Plex


I need to get the current date and time and use them in my CA Plex function. How do I do this?


Release : 7.2

Component : CA Plex


There are Plex source code objects that can be used to retrieve the current date, time (TimeStamp).
To fetch current date/time, Plex DATE pattern library provides the variant specific implementation as follows.

WinC - Date/WINGetCurrentTimeStamp
Java - Date/JAVAGetCurrentTimeStamp
CSharp - Date/CSGetCurrentTimeStamp

Above mentioned source code API gets the current system date and time from a Windows system, and returns it in the form of an ISO timestamp.