上QQ阅读APP看书,第一时间看更新
The date variable
The date variable is used to store date values, for example, the date that the date-picker widget is in the Web application stores. It is of the Java type Date (java.util.Date
). In addition, while defining the default value of this variable, we are given the option to choose it from a date picker that displays the date and time in a grid fashion.
Also, the default value can be set to Now, which takes the date and time at execution. This feature is useful in most scenarios when we want to display the default date and time as the time when the end user comes across this variable.