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

book

Article ID: 199520

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

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


Environment

Release : 7.2

Component : CA Plex

Resolution

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.