Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way in the Print Composer of QGIS to create a label that will automatically update the date (systems date) instead of having a label that you have to manually have to update?

share|improve this question
up vote 14 down vote accepted

Yes, you can add

format_date( now(),'yyyy-MM-dd HH:mm:ss')

This used to be the old syntax:

$CURRENT_DATE(yyyy-MM-dd)
share|improve this answer
    
Thank you that works a treat. – geosmiles Aug 24 '12 at 8:07
1  
Are there any more commands like that? – SAnderka Sep 3 '12 at 20:44
1  
In the field calculator you can browse available functions and even search them. This image shows the results of me searching for 'format': i.stack.imgur.com/Tu2eB.png – kttii Jun 28 at 19:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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