I am working on the Date formats but I am little bit confusing for changing the date formats.
Below is the task.
I have to change the date format to dd/MMM/yy for one object.
Actually I have one object called Daydate. I have set up a prompt for Daydate object in webintelligence query panel as Daydate between “start date” and “End Date”. up to now everything is fine . I have ran the report and I have retrieved the start date and end date value in the header of the report. for this retreving I have created a object called Var_start date object and placed this formuale
After creating this object I have placed in the report header the date is displaying the format of 5/1/2009 But I want to display the date in the format date of dd/MMM/YY. for this I have apllied FormatDate function for the Var_start date. but I am getting the error like " the expression and sub expression has invalid data type.
I have applied the Todate function it is becoming Date data type up to now everything is fine and next I have applied Formatdate function to the Start date but It is automatically changing to String and I am getting the output #Error. Could you please suggest me why this error is getting.