dateToString
Converts a java.util.Date object into a string that contains a date in a format that is compliant with xCBL documents.
Package
WmMarketConnect
Input Parameters
date | java.util.Date Object to convert. |
format (optional) | String The format of the date in the resulting string. ![*](chapterTOC_bullet.png) If you want the string to contain the year, month, and day, specify the format dateOnly. ![*](chapterTOC_bullet.png) If you want the string to contain the year, month, day, hour, minute, second, and time zone offset, do not specify this parameter or specify the format dateAndTime. |
Output Parameters
dateString | Resulting string. |