tmajor99
asked on
JavaScript Date Format
Need help with a simple JavaScript that will reformat a date string. I currently have the variable containing a date string in CCYY-MM-DD format. I need to change this format to mm/dd/ccyy.
var revision = node.getRevision();
var MyDate = node.getValue("UPDT_DATE") .GetSimple Value(Scri ptHelper.g etISODate( revision.g etCreated( )));
//MyDate is formatted as CCYY-MM-DD. I need to change to MM/DD/CCYY.
var revision = node.getRevision();
var MyDate = node.getValue("UPDT_DATE")
//MyDate is formatted as CCYY-MM-DD. I need to change to MM/DD/CCYY.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.