I only need to show the day of the week as a result, and I am looking for an inline format method at the .js moment before using reg ex for the job.
What I get:
moment().add(2, 'days').calendar() = "Thursday at 12:46 PM"
I only need to get Thursday
source
share