Running time: 3:15
In this lesson, you learn how to add an input date field to a form to provide a method for capturing and validating dates. You'll also learn about date keywords that you can use as short cuts when entering a date and how to override the default display format of your date after it's been validated.
Date Keywords
- now
- current
- midnight
- endofday
- today
- tomorrow
- yesterday
- sunday
- monday
- tuesday
- wednesday
- thursday
- friday
- saturday
Common Formatting Options
- yy - two digit year
- yyyy - four digit hear
- MM - two digit month
- MMM - 3 character month abbreviation
- dd - 2 digit day
- Full List of Simple Date Formats
Example Outbound Pattern
MMM dd, yyyy - Jan 01, 2017

