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
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
- Edit posts to add this mod edit message: Note the bold font of the message