Forum Discussion
alchemiz
6 months agoContributor III
What is the format of $vendorBill.tranDate?
If format is "01-Jan-2025" then this will be Date.parse($vendorBill.tranDate, "dd-MMM-yyyy")
If format is "2025-01-31" then this will be Date.parse($vendorBill.tranDate, "yyyy-MM-dd")
Hope this helps.