[GIS] Date Time format in ArcGIS 10.1

arcgis-10.1javascriptlabelingpythonvbscript

I have a Date column in my feature class and I want the date to appear in "dd MMM yyyy" format as a label to a polygon. I am using Arc Map 10.1.
I tried taking Jscript.

var Dt  = new Date();
Dt = Dt.toString("dd MMM yyyy");

But it gives error. I can implement the solution in jscript ,vbscript and python if available.

Best Answer

There are links to each language Reference pages at the bottom of this esri help page.

If you are writing a function you should check the advanced box and as described write in the selected language of the parser (below).
label dialog

Related Question