Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

DateTime variable

Updated on October 19, 2022

Use the DateTime variable to convert an input type such as String to the DateTime type.

Properties

PropertyDescription
EncryptSet this property to True to encrypt the value of the variable when the solution is saved. For more information, see Encrypt Property.
ValueSpecify the Month, Day, Year, and Time to convert and display as a result. You can choose from these formats:
  • Month dd, yyyy hh:mm
  • mm/dd/yyyy hh:mm
  • mmm-dd-yy hh:mm
  • mm-dd-yyyy hh:mm
  • dd-mmm-yyyy hh:mm

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us