Formatting date field in apex:inputtext
If we would like to have the ability to use a date field in Visualforce without relying on a salesforce or custom object then we can acheive this by using <apex:inputtext>. Below is the code snippet
Visualforce Page:
Controller: