Page 1 of 1

Format date inside an expression

Posted: Thu Feb 09, 2017 1:07 pm
by terje.pedersen
Trying to format date inside an expression but only getting 2017-02-08T00:00:00Z

Is this correct? Or do I need to transform the date first?

Code: Select all

{Format("{0:dd.MM.yyyy}",invoices_Data.CustomerInvoiceInvoiceDate)}

Re: Format date inside an expression

Posted: Fri Feb 10, 2017 6:42 am
by terje.pedersen
Found the solution, setting the field to datetime it was parsed in from json as string. And you also need to use "..." and not '...' as first parameter of Format()

Re: Format date inside an expression

Posted: Fri Feb 10, 2017 7:00 am
by Alex K.
Hello

Thank you for the information.
Please let us know if you need any additional help.

Thank you.