# DateFormula Property
> Version: _Available or changed with runtime version 1.0._
Sets a date formula used to verify that the date the user enters is correct.
## Applies to
 Table field
 Page Field
## Remarks
> IMPORTANT
> This property will be deprecated with a future release. We recommend that you don't use this property. Use the ../methods-auto/dateformula/dateformula-data-type instead.
For fields, this property only applies to text fields. In earlier versions of Dynamics 365 Business Central, the property also applied to code fields, but this has been deprecated.
## Related information
../methods-auto/dateformula/dateformula-data-type
devenv-properties

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-dateformula-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-dateformula-property/
