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: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
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 Nov 23 06:52:12 CST 2024