@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
16 lines • 480 B
JavaScript
;
/**
* Returns a string represantation of a date. dd[/]mm[/]yyyy
* @return string
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.toString = void 0;
const TtoC_1 = require("../datetime/TtoC");
const toString = (target, targetDate, dateFormat) => {
if (!dateFormat) {
dateFormat = "MDY";
}
return (0, TtoC_1.TtoC)(targetDate, 8, 0, dateFormat, null);
};
exports.toString = toString;
//# sourceMappingURL=toString.js.map