mtran21New Contributor III5 years agoConvert UTC date to date How do you convert this date “2020-09-01T00:00:00.000” to this “20200901”?
dmillerFormer Employee to mtran215 years agoThen you should try: $HIRE_DATE.toLocaleDateString({"format":"yyyyMMdd"})
mtran21New Contributor III to dmiller5 years agoGot this error ptaylorEmployee to mtran215 years agoTry this: Date.parse($HIRE_DATE.toString()).toLocaleDateString(...)mtran21New Contributor III to ptaylor5 years ago Absolutely beautiful. It worked Date.parse($HIRE_DATE.toString()).toLocaleDateString({“format”:“yyyyMMdd”}) Thank you @ptaylor and @dmiller
ptaylorEmployee to mtran215 years agoTry this: Date.parse($HIRE_DATE.toString()).toLocaleDateString(...)
mtran21New Contributor III to ptaylor5 years ago Absolutely beautiful. It worked Date.parse($HIRE_DATE.toString()).toLocaleDateString({“format”:“yyyyMMdd”}) Thank you @ptaylor and @dmiller
Recent DiscussionsWay to lock down in Prod org to "Monitor" only access?trace API and proxy callsPagination Logic Fails After Migrating from REST GET to HTTP Client SnapSolvedPipeline Execute Pool sizeSolvedConcat values of a field based on value of another fieldSolved