I have created a chart Dynamic and i have on field format date "YYYY-MM-DD" and i want to have this format "DD/MM/YYYY"
there is a way to do that knowing i remove and i add the field to chart dynamic
i try this Settings ==> Document Prop ==>Number ==> Number Format Settings ==> Date"DD/MM/YYYY"
but doesn't work ?
i use QV 11 SR2
Many thanks for your help
1. Try this one.
2. if you have string format use this one. This syntex convert string format to Date format
in load script where you use your datefield
try this in that load script
date(date#(datefield,'YYYY-MM-DD'),'DD/MM/YYYY') AS DateField
the date# function gives you same ormat and Date function gives you that format which you want
Hope it helps
The document properties set the default date format. If the value already has a format then it will keep that format. You can give the date the correct format in the script. Maybe you can specify the wanted format on the Number tab of the chart. If not you'll have to use the date() function to change the format: date(MyDateField, 'DD/MM/YYYY')