Date format in report scripting

I would like to write the date in the ‘yyyy-dd-mm’ format but Ignition’s report scripting recognizes the ‘yyyy-mm-dd’ format.
Anyone know how I can do that?
Thank you!

Can you give us more details on what you’re trying to do? For example, are you using a script data source or is this in scripting?