Skip to main content

DateTime variable

Suggest edit Updated on November 10, 2021

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
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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