8

This may be something simple stupid but in QGIS 2.4 I have created a date column. How do I enter the date in correctly. Every time I type a date in, in whatever format it does not move that entered date into my attribute table. So I click on the table and open the form and try again but it never saves my entered data for the date.

9

Not stupid at all buddy! Everyone has to learn sometime :)

You may have already tried the way I am going to describe as I use QGIS 2.2 instead of 2.4.

Open the attribute table, select New column and add the name and change the type:

Add column

The format I normally use is YYYY-MM-DD when typing in the Date column:

Date

Hope this helps.

  • 1
    Does anyone know if there are plans for a 'date-picker' for QGIS when entering data such as this? – DPSSpatial Oct 16 '14 at 15:30
  • 1
    @mapBaker I guess milos.kroulik answered that one ;) – underdark Oct 16 '14 at 16:54
6

In 2.4 there is even calendar widget ("date picker"). In the layers "Fields" tabs, select "Date/Time" widget for a date field and check "calendar popup" option in widget detail settings.

QGIS Calendar Widget

  • fantastic!!! great to see this! – DPSSpatial Oct 16 '14 at 17:21
  • Indeed, a very useful and easy-to-use widget. – Joseph Oct 20 '14 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.