Input DateTime in datatable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Using the 'Schema Editor' i created a schema for a shapefile. Among the data i want to collect is a date. So i used the 'DateTime' datatype for that field.
No problems there. Connecting to the shapefile and adding geometry work fine as well. Adding most of the data isn't a problem either.
The problem i get is when adding the date. When the "Date"-field is selected in the datatable i can only type in the time. The date i can add with de 'Datepicker' but when i confirm my input the datatable shows "1-1-0001 0:00:00" in the "Date"-field. Opening the 'Datepicker" again it shows the last selected date (27-03-2014).
To see what date actually got registered i used the expression builder (in the style editor) to list the dates. The date listed is "0027-03--34 00:00:00"
It appears the date got parsed wrong.
Does anyone have an idea on how to fix this?
Regards,
Tim