The struts configuration is as follows:
<Result name = "queryall" type = "XSLT">
<Param name = "exposedvalue"> models </param>
</Result>
Models is a list set of queries. Data has been received in the flex foreground,
Turn left | turn right
Other data can be displayed normally, but only the date type does not know how to display it.
Turn left | turn right
The date in the database is:
Turn left | turn right
Turn left | turn right
The field indicates:
Year: year (when converting to XML format, it is to subtract the current year by 1900. It is described in Java API, which indicates 2013)
Month: Month (the month starts from 0, and 7 represents July );
Date: Day (from 1 to 31)
Day: Week (0 represents Sunday)
Hours: hour
Minutes: minutes
Seconds: seconds
Time:
Timezoneoffset:
Once you understand the meaning of these attributes, convert them to the date and time format of the string type.
After knowing the meaning of each field, convert it to the date type through new date (year, month, date, hours, minutes, seconds.