This content has been marked as final. Show 9 replies
Try this one:1 person found this helpful
<?xdoxslt:xdo_format_date($_XDOXSLTCTX,param_start_date,'dd month yyy')?>
p.s If this answers your question then please grant the points and close the thread
Your solution only formats the sysdate and not the value of the parameter.
I just updated the function
Please try again
Doesn't work. Value is displayed as 2011-01-26 00:00:00.0 using that updated function.
After doing some additional searching, I'm questioning whether or not my date is in ISO format and therefore can be formatted.
I'll keep poking around, but I'm not sure if it can be formatted as I require. I'll still try any suggestions though.
use <?xdoxslt:xdo_format_date($_XDOXSLTCTX, substring(param_start_date,1,10),'dd month yyyy')?>
Thanks Vetsrini, that solved it. Much appreciated.
I don't think it would hurt to add some points for the assistance in redirecting you to the right solution.
Even this function does not provide the required output in 'DD-MON-YYYY' format.
It shows in 'YYYY/MM/DD'.
Please let me know how diid u get the required output.