On Thu, 9 Aug 2018 at 16:39, Reginald Carlier
<reginald.carl...@ingelmunster.be> wrote:
>
> Hi Nyall,
>
> Somehow my post shows the code but my previous post doesn't.
> Anyway this is how the code looks:
>
> vandaag = datetime.now()
> dag = vandaag.day
> maand = vandaag.strftime("%B")
> jaar = vandaag.year
> datum = str(dag) + " " + maand + " " + str(jaar)
>
> I suspect that maybe strftime changed in python 3.6?

Do you see the same from a standalone python console? (I'm not sure
that this issue is related to QGIS at all or whether it's a Python
specific thing).

Nyall
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to