Home » Open Source » Programming Interfaces » java script format mask problem
java script format mask problem [message #626090] Mon, 20 October 2014 11:10 Go to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

i have text item ....in which date is returned from calender in format dd/mm/yyyy i want to change the format into dd-mon-yyyy using java script....how i can do it..?
Re: java script format mask problem [message #626091 is a reply to message #626090] Mon, 20 October 2014 12:09 Go to previous message
Michel Cadot
Messages: 65252
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Declare an array with month names.
Split the string
Rebuild the string to the format you want using the array of month names.

Previous Topic: Connecting to Oracle Database using DAD with PHP
Next Topic: PHP-OCI interface
Goto Forum:
  


Current Time: Wed Dec 13 23:02:56 CST 2017

Total time taken to generate the page: 0.01239 seconds