DATE conversion
Lars Pelzer
Hi all,I'm building a layout with a parameter DocDate.
Now I would like to display the parameter on the layout in the format dd-mm-yyyy.
Now I'm using:
GetData("LD.Par.DocDate")
But then I get as a result: YYYYMMDD
I have also tried:
LD.ParamDate(GetData("LD.Par.DocDate"), "dd-MM-yyyy")
But then I get the error result:
- LD not defined
- error in script
What am I doing wrong? Can anybody help me with this?
Thanks in advance!
Greetz
Lars
Christian Gey
[quote]"descecrator"]But then I get the error result:
- LD not defined
- error in script
What am I doing wrong? Can anybody help me with this?
[/quote]
Hi Lars
Sounds like you did not load the LD-class into your new document.
Just go to document properties and add LayoutHelper under the "Imports"-property
Best regards
Christian
Lars Pelzer
It works!Thank you very much for your input!
Greeetz
Lars
0
Please sign in to leave a comment.
Comments
0 comments