getvalue return wrong date format for shapefile

Description

Hi

Dbf date structure stores date without delimiters "YYYYMMDD"
MW5 does not convert this format and display it in a raw format ("20161231" is displayed 20161231 and not 2016-12-31)

Correction required is
DateTime result
result=DateTime.ParseExact(value, "yyyyMMdd", CultureInfo.InvariantCulture);

Attachments

2

is caused by

Activity

Paul Meems 
January 8, 2017 at 1:27 PM

This is probably because the shapefile format we use in MW5 doesn't support the date format, this is requested in
It is creating a string of the date value.
I have a PostGIS table with several types of attributes, which are shown by MapWinGIS as:

using

In pgAdmin these values are displayed as

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created January 7, 2017 at 9:51 AM
Updated June 1, 2020 at 3:44 PM
Resolved June 1, 2020 at 3:44 PM