I know I need FormatTime for this, but somehow it's not working properly for me.
I'm using the a DateTime gui control, which outputs for instance:20200623132517
When I try this:
Code: Select all
FormatTime, Leverdatum,, 'Leverdatum' dd-MM-yyyy '- ingevoerd om' HH'h'mm
So it converts the current date, not the date that is in the variable leverdatum.
What am I doing wrong ?
Edit, found it using another example from the forums:
FormatTime, Leverdatum, %leverdatum%, dd-MM-yyyy