Question

12
Replies
8834
Views
Close popover
Nabendu Pal (NabenduP)
Accenture
Business & Integration Arch Manager
Accenture
AU
NabenduP Member since 2013 9 posts
Accenture
Posted: May 18, 2016
Last activity: June 6, 2018
Closed

I have a requirement where I need to display a Date field in Dropdown mode. However on load of the screen, Month and Day will remain blank but the year should get set as the current year. I have tried to use the Default value with the CurrentDateTime func

I have a requirement where I need to display a Date field in Dropdown mode. However on load of the screen, Month and Day will remain blank but the year should get set as the current year. I have tried to use the Default value with the CurrentDateTime function but it is displaying all i.e. Month Day and Year. I have tried to convert the current date time into BigDecimal and then get it converted to the Year. Used the following: @(Pega-RULES:DateTime).year(@(Pega-RULES:DateTime).dateTimeToBigDecimal(@(Pega-RULES:DateTime).CurrentDateTime(), DateTime, tools)). But not working.

Message was edited by: Marissa Rogers - added category, moved from Mesh Help

  1. Edit posts to add this mod edit message: Note the bold font of the message
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
User Experience
Moderation Team has archived post,
Close popover 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.