Question
3
Replies
6657
Views
Posted: February 26, 2018
Last activity: February 26, 2018
Closed
Solved
Current Time
How to set time to property?
Question
Question
Discussion
Question
Question
Question
Question
Question
Question
Question
How to set time to property?
Please see the attached screen shots of an activity.
That shows only time in HHMMSS format. (Used @getCurrentTimeOfDayOnlyStamp())
If datetimestamp needed then use @CurrentDateTime function.
Thanks,
Sai
Accepted Solution
Hi,
Use timevalue function to capture time. Inside the timevalue function pass the currentdatetime to capture current time.
E.g: @(Pega-RULES:DateTime).timevalue(@(Pega-RULES:DateTime).CurrentDateTime())
This will return current time.
Thanks,
Dibyakanti
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.
Hi ,
Please use @CurrentDateTime function and set that to any property using the Property-Set Method.
Hope this helps.
Thanks,
Sai