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
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: 68597
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: Sat Feb 24 20:33:32 CST 2024