Question

1
Replies
322
Views
Chetna Mohanta (Chetna)
Infosys Ltd
Senior Systems Engineer
Infosys Ltd
IN
Chetna Member since 2018 3 posts
Infosys Ltd
Posted: July 10, 2020
Last activity: May 20, 2021
Posted: 10 Jul 2020 16:01 EDT
Last activity: 20 May 2021 9:30 EDT
Closed
Solved

current time in 24 hour format

Hi,

I have a requirement where i need time in 24 hour format. I am using  @DateTime.FormatDateTime(@DateTime.CurrentDateTime(),hhmmss,CET,"en_NL"). But if the current time is 22:04:26, it is showing 100426 instead of 220426.

Thanks in advance.

***Edited by Moderator: Pallavi to move from Pega Academy to Product***

 

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.3 User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.