Join Slack
Powered by
<@UK2MLQE4B> using the moment library, I think you...
# suitescript
s
scottvonduhn
10/07/2019, 3:01 PM
@Php
using the moment library, I think you could achieve the same result in just two lines of code (or even one, if you don't need to actually keep the date variable).
momentExample.js
👍 1
s
stalbert
10/07/2019, 3:13 PM
my grandpappy always used to say less code = less bugs
😁 1
4
Views
Open in Slack
Previous
Next