10

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.

2 Answers 2

10

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.

2
  • 1
    Does anyone know if there are plans for a 'date-picker' for QGIS when entering data such as this? Commented Oct 16, 2014 at 15:30
  • 1
    @mapBaker I guess milos.kroulik answered that one ;)
    – underdark
    Commented Oct 16, 2014 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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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